Home
last modified time | relevance | path

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

/PHP-7.3/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
5 /* 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 …]
/PHP-7.3/ext/standard/
H A Dphp_type.h37 PHP_FUNCTION(is_scalar);
H A Dtype.c321 PHP_FUNCTION(is_scalar) in PHP_FUNCTION() argument
H A Dbasic_functions.c3122 PHP_FE(is_scalar, arginfo_is_scalar)
/PHP-7.3/ext/mbstring/tests/
H A Dmb_convert_encoding_array2.phpt45 if (is_scalar($var))

Completed in 24 milliseconds