Thursday, August 13, 2009

Variable Types in php

PHP supports eight primitive types. Four scalar types: boolean : expresses truth value, TRUE or FALSE. Any non zero values and non empty string are also counted as TRUE.integer : round numbers (-5, 0, 123, 555, ...)float : floating-point number or 'double' (0.9283838, 23.0, ...)string : "Hello World", 'PHP and MySQL, etc Two compound types: array object And finally two special

No comments:

Post a Comment