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";
92 /* loop to check that is_numeric() recognizes different
97 var_dump( is_numeric($num) );
100 echo "\n*** Testing is_numeric() on non numeric types ***\n";
142 is_numeric() on non numeric values, expected output: bool(false) */
146 var_dump( is_numeric($type) );
151 var_dump( is_numeric() );
154 var_dump( is_numeric("10", "20") );
164 *** Testing is_numeric() with valid numeric values ***
322 *** Testing is_numeric() on non numeric types ***
382 Warning: is_numeric() expects exactly 1 parameter, 0 given in %s on line %d
385 Warning: is_numeric() expects exactly 1 parameter, 2 given in %s on line %d