Lines Matching refs:is_numeric
2 Test is_numeric() function
5 /* Prototype: bool is_numeric ( mixed $var );
9 echo "*** Testing is_numeric() with valid numeric values ***\n";
90 /* loop to check that is_numeric() recognizes different
95 var_dump( is_numeric($num) );
98 echo "\n*** Testing is_numeric() on non numeric types ***\n";
141 is_numeric() on non numeric values, expected output: bool(false) */
145 var_dump( is_numeric($type) );
150 var_dump( is_numeric() );
153 var_dump( is_numeric("10", "20") );
163 *** Testing is_numeric() with valid numeric values ***
317 *** Testing is_numeric() on non numeric types ***
379 Warning: is_numeric() expects exactly 1 parameter, 0 given in %s on line %d
382 Warning: is_numeric() expects exactly 1 parameter, 2 given in %s on line %d