Lines Matching refs:floatval
2 Testing floatval() and its alias doubleval() : error conditions - wrong numbers of parametersns
5 /* Prototype: float floatval( mixed $var );
9 echo "*** Testing floatval() and doubleval() : error conditions ***\n";
12 echo "\n-- Testing floatval() and doubleval() function with no arguments --\n";
13 var_dump( floatval() );
16 echo "\n-- Testing floatval() and doubleval() function with more than expected no. of arguments --\…
17 var_dump( floatval(10.5, FALSE) );
23 *** Testing floatval() and doubleval() : error conditions ***
25 -- Testing floatval() and doubleval() function with no arguments --
27 Warning: floatval() expects exactly 1 parameter, 0 given in %s on line %d
33 -- Testing floatval() and doubleval() function with more than expected no. of arguments --
35 Warning: floatval() expects exactly 1 parameter, 2 given in %s on line %d