PHP describes numerous data types to be used. Those are listed below:
| DATA TYPE | DESCRIPTION |
|---|---|
| the array type | Used to store multiple values (any data type) as a single variable. |
| the Boolean type | Used to store 0 or 1 (TRUE or FALSE). |
| the floating-point type | Used for storing floats (rational number with decimal point). |
| the integer type | Used for storing integers (rational number without decimal point). |
| the NULL type | Used to define a data type (a variable) that has no assigned value to it. |
| the object type | Used to store other data, functions or any information of an object. |
| the string type | Used to store string characters (contained within quotes). |
Comments
No comments have been made yet.
Please login to leave a comment. Login now