PHP DATA TYPES
Integers: This data type is used for numbers, without a decimal point, like 45, 789.
Doubles: This data type is used for floating-point (decimal) numbers, like 3.14
Booleans: These variable have only two possible values either true or false.
NULL: Its a special data type, that means nothing.
Strings: are collection of more than one characters, for example Jhon, Smith, etc.
Arrays: This data type is used to declare an array.
Objects: These are programmer-defined, which can store any types of value..
Resources: These are special variables that hold references to other external resources to PHP (Such as database connections).
0 Comments