Lines Matching refs:is_bool
2 Test is_bool() function
5 /* Prototype: bool is_bool ( mixed $var );
9 echo "*** Testing is_bool() with valid boolean values ***\n";
17 /* loop to check that is_bool() recognizes different
22 var_dump( is_bool($bool_val) );
25 echo "\n*** Testing is_bool() on non boolean values ***\n";
123 is_bool() on non bull types, expected output: bool(false) */
127 var_dump( is_bool($type) );
132 var_dump( is_bool() );
135 var_dump( is_bool(TRUE, FALSE) );
145 *** Testing is_bool() with valid boolean values ***
155 *** Testing is_bool() on non boolean values ***
289 Warning: is_bool() expects exactly 1 parameter, 0 given in %s on line %d
292 Warning: is_bool() expects exactly 1 parameter, 2 given in %s on line %d