Page 173 - CITS - Computer Software Application -TT
P. 173
COMPUTER SOFTWARE APPLICATION - CITS
In the following example $x is an integer. The PHP var_dump() function returns the data type and value:
PHP Float
A float (floating point number) is a number with a decimal point or a number in exponential form.
In the following example $x is a float. The PHP var_dump() function returns the data type and value:
PHP Boolean
A Boolean represents two possible states: TRUE or FALSE.
Booleans are often used in conditional testing.
PHP Array
An array stores multiple values in one single variable.
160
CITS : IT&ITES - Computer Software Application - Lesson 47 - 62