Lines Matching refs:is_scalar
2 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
235 Warning: is_scalar() expects exactly 1 parameter, 2 given in %s on line %d
238 Warning: is_scalar() expects exactly 1 parameter, 2 given in %s on line %d