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

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator