Answers for "php boolval vs bool"

PHP
0

php convert to boolean

// (PHP 5 >= 5.5.0, PHP 7)
// boolval — Get the boolean value of a variable
boolval ( mixed $var ) : bool
// Returns the boolean value of var.
Posted by: Guest on July-07-2020

Browse Popular Code Answers by Language