Tag

PHP

PHP Int

PHP Int is a numerical value that can be assigned to the PHP variable. This means a number from the set -3, -2, -1, 0, 1, 2, 3. In the following few lines, I will specify the PHP integer types which can be set in decimal, octal, hexadecimal, and binary. The int word refers to

PHP Data Types

In this article, you will learn how to use the PHP data types. Also, I will explain how to cast these types into other data types. And how to use PHP code to get the type of the PHP variable values. Before getting started, we just need to focus on the meaning of the PHP

PHP String

PHP string is a list of characters that are located between single or double quotes. The max of characters should not be over 256 characters. PHP does not support the native Unicode. The string can be double-quotes or single-quotes. In this tutorial, you will learn how to use all types of PHP strings. Anyway, the

PHP Float

In this article, we will explore the PHP float data type in detail, including its definition, range, and usage in code examples. We will also discuss some common operations that can be performed on float numbers in PHP. What is a PHP float? PHP float refers to the point in the numbers or numbers that

PHP Array

PHP array is a list or map that contains multiple values grouped by array key. It may be including integer, string, boolean, or whatever data type, the key can be string or numeral index. The PHP array can only have a value without keys but behind the scene, it is already indexing with numerals starting

PHP Object

The PHP object is an instance from the PHP class or the main data structure that is already been created by the PHP class. It can be assigned to a variable or called with $this that already refers to an individual object. In another word, the PHP object is an instance from a kind of

PHP Intro

In this tutorial, you will learn what PHP is, and how to write your first PHP program with this programming language. Also, I will expose the phases of the Zend Engine, especially the PHP lexical token with an example. On the other hand, you will learn also the differences between – The interpreter and the

PHP Resource

In this tutorial, I will explain what does mean the PHP resource and we are going to cover all PHP examples regarding this concept to be easily understandable. Anyway, the PHP resource is referring to all external accesses which are all external resources that have information or data needed to be manipulated through the main

Remove the Last Char

In this article, you will learn how to use PHP to remove the last character from a string. Also, you will be able to replace it with another char using some of the PHP predefined functions such as substr_replace and substr. The PHP string is a list of characters quotes with single or double quotations

PHP Syntax

In this PHP syntax guide, you will learn how to write PHP tags. PHP can be embedded in the document with HTML markups. Before getting started, we should know that the file of the PHP document is ending with “.PHP” as an extension and how the PHP interprets the source code. Actually, there are many