PHP Basic: Casting TypeTag: data type, cast Category: PHP Basicpost: 01 Mar 2008 read: 406 PHP Basic Data Type Step By Step Tutorial - Part 10: Casting type represents the guidance process of a data which save in one variable according to the instructed data type. The process of casting runs together with the instruction of the data type operator Operator Casting
Pay attention to the example of using casting type at script as following:
Execute casting.php program and the result will be:
Casting type is almost rare to be used. It is caused by the automatic conversion in PHP so that PHP do not require data type declaration explicitly from one variable to be used. | ||||||||||||||
| | Give Your Opinion | Recommend |
|

