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) );
17 if (!is_scalar($a)) {
21 dump_error(fn() => is_scalar($foo?->foo()));
363 PHP_FUNCTION(is_scalar) in PHP_FUNCTION() argument
1409 function is_scalar(mixed $value): bool {} function
2787 ZEND_FUNCTION(is_scalar);3439 ZEND_FE(is_scalar, arginfo_is_scalar)
40 if (is_scalar($var))
Completed in 25 milliseconds