PHP Boolean Data Type With Examples

aimtocode

Booleans Data Type

A Boolean Data Type represents two possible states either (1) TRUE or (0) FALSE.

A Successfully done event returns true and unsuccessful event returns false.



Example:



Result:


  bool(true) 


Read More:

aimtocode