Converting from a Boolean value to an integer in PHP
It is possible to convert a Boolean value to an integer type in PHP. Boolean type has two options of being either true or false.
If this conversion is done, then value of True will be converted to 1 and value of False will be converted to 0.
Comments
Post a Comment