Home
last modified time | relevance | path

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

/PHP-8.0/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.0/ext/opcache/tests/jit/
H A Dtype_check_001.phpt17 if (!is_scalar($a)) {
/PHP-8.0/Zend/tests/nullsafe_operator/
H A D013.phpt21 dump_error(fn() => is_scalar($foo?->foo()));
/PHP-8.0/ext/standard/
H A Dtype.c363 PHP_FUNCTION(is_scalar) in PHP_FUNCTION() argument
H A Dbasic_functions.stub.php1409 function is_scalar(mixed $value): bool {} function
H A Dbasic_functions_arginfo.h2787 ZEND_FUNCTION(is_scalar);
3439 ZEND_FE(is_scalar, arginfo_is_scalar)
/PHP-8.0/ext/mbstring/tests/
H A Dmb_convert_encoding_array2.phpt40 if (is_scalar($var))

Completed in 32 milliseconds