Searched refs:is_scalar (Results 1 – 6 of 6) sorted by relevance
2 is_scalar() function test6 var_dump (is_scalar (TRUE));7 var_dump (is_scalar (1));8 var_dump (is_scalar (1.0));9 var_dump (is_scalar ("Hi!"));10 var_dump (is_scalar (NULL));11 var_dump (is_scalar (array ()));12 var_dump (is_scalar (new foo()));13 var_dump (is_scalar (opendir('.')));
2 Test is_scalar() function5 /* Prototype: bool is_scalar ( mixed $var );49 and see the working of is_scalar(), expected output: bool(true)54 var_dump( is_scalar($scalar) );100 working of is_scalar on non-scalar values, expected output: bool(false)105 var_dump( is_scalar($value) );110 var_dump( is_scalar() );113 var_dump( is_scalar( $scalar_variables[2], $scalar_variables[2]) );114 var_dump( is_scalar( new stdclass, new stdclass) );232 Warning: is_scalar() expects exactly 1 parameter, 0 given in %s on line %d[all …]
37 PHP_FUNCTION(is_scalar);
321 PHP_FUNCTION(is_scalar) in PHP_FUNCTION() argument
3122 PHP_FE(is_scalar, arginfo_is_scalar)
45 if (is_scalar($var))
Completed in 20 milliseconds