Top Ad unit 728 × 90

ticker

Boolean In PHP

Boolean

They have only two possible values either true or false. PHP provides a couple of constants especially for use as Booleans: TRUE and FALSE, which can be used like so

if (TRUE)
   print("This will always print<br/> ");
else
   print("This will never print <br/>");
Boolean In PHP Reviewed by Rajat Jha on 20:00:00 Rating: 5

No comments:

All Rights Reserved by INFO PHP 99 © 2014 - 2015
Powered by Blogger, Designed by Sweetheme

Contact Form

Name

Email *

Message *

Powered by Blogger.