PHP » GoLang |
login |
register |
about
|
boolval(PHP 5 >= 5.5.0, PHP 7) boolval — Get the boolean value of a variable Parameters
Return Values
The boolean value of Examples
Example #1 boolval() examples
<?php The above example will output: 0: false 42: true 0.0: false 4.2: true "": false "string": true "0": false "1": true [1, 2]: true []: false stdClass: true See Also
|
more
Recently updated
more
Most requested
more
Last requests
|