Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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.
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #convert #boolean
ADD COMMENT
Topic
Name
1+2 =