Searched refs:is_scalar (Results 1 – 8 of 8) 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() function45 and see the working of is_scalar(), expected output: bool(true)50 var_dump( is_scalar($scalar) );96 working of is_scalar on non-scalar values, expected output: bool(false)101 var_dump( is_scalar($value) );
16 if (!is_scalar($a)) {
21 dump_error(fn() => is_scalar($foo?->foo()));
37 if (is_scalar($var))
389 PHP_FUNCTION(is_scalar) in PHP_FUNCTION() argument
3683 function is_scalar(mixed $value): bool {}
2840 ZEND_FUNCTION(is_scalar);
Completed in 32 milliseconds