Home
last modified time | relevance | path

Searched refs:is_scalar (Results 1 – 8 of 8) sorted by relevance

/PHP-8.4/ext/standard/tests/general_functions/
H A D005.phpt2 is_scalar() function test
6 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('.')));
H A Dis_scalar.phpt2 Test is_scalar() function
45 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) );
/PHP-8.4/ext/opcache/tests/jit/
H A Dtype_check_001.phpt16 if (!is_scalar($a)) {
/PHP-8.4/Zend/tests/nullsafe_operator/
H A D013.phpt21 dump_error(fn() => is_scalar($foo?->foo()));
/PHP-8.4/ext/mbstring/tests/
H A Dmb_convert_encoding_array2.phpt37 if (is_scalar($var))
/PHP-8.4/ext/standard/
H A Dtype.c389 PHP_FUNCTION(is_scalar) in PHP_FUNCTION() argument
H A Dbasic_functions.stub.php3683 function is_scalar(mixed $value): bool {}
H A Dbasic_functions_arginfo.h2840 ZEND_FUNCTION(is_scalar);

Completed in 32 milliseconds