Home
last modified time | relevance | path

Searched refs:floatval (Results 1 – 12 of 12) sorted by relevance

/PHP-5.3/ext/standard/tests/general_functions/
H A Dfloatval_error.phpt2 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() );
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 --
[all …]
H A Dfloatval.phpt2 Testing floatval() and its alias doubleval() Functions
5 /* Prototype: float floatval( mixed $var );
9 echo "*** Testing floatval() with valid float values ***\n";
35 /* loop to check that floatval() recognizes different
39 var_dump( floatval($value) );
52 echo "\n*** Testing floatval() on non floating types ***\n";
82 var_dump( floatval($type) );
99 var_dump( floatval() );
103 var_dump( floatval(TRUE, FALSE) );
111 *** Testing floatval() with valid float values ***
[all …]
H A Dfloatval_basic.phpt2 Testing floatval() and its alias doubleval() Functions
7 /* Prototype: float floatval( mixed $var );
36 /* loop to check that floatval() recognizes different
38 echo "*** Testing floatval() with valid float values ***\n";
41 var_dump( floatval($value) );
55 *** Testing floatval() with valid float values ***
H A Dfloatval_variation1.phpt2 Testing floatval() and its alias doubleval() functions : usage variations - different data types as…
5 /* Prototype: float floatval( mixed $var );
37 floatval() on non float types, expected output: float value valid floating point numbers */
38 echo "\n*** Testing floatval() on non floating types ***\n";
41 var_dump( floatval($type) );
55 *** Testing floatval() on non floating types ***
/PHP-5.3/ext/pdo_mysql/tests/
H A Dbug_41698.phpt18 $db->exec('CREATE TABLE test(floatval DECIMAL(8,6))');
29 [%u|b%"floatval"]=>
34 [%u|b%"floatval"]=>
/PHP-5.3/ext/standard/tests/array/
H A Dsizeof_basic1.phpt19 $floatval = 10.5;
35 var_dump( sizeof($floatval) );
38 var_dump( sizeof($floatval, COUNT_NORMAL) );
41 var_dump( sizeof($floatval, COUNT_RECURSIVE) );
/PHP-5.3/ext/standard/
H A Dphp_type.h25 PHP_FUNCTION(floatval);
H A Dtype.c166 PHP_FUNCTION(floatval) in PHP_FUNCTION() argument
H A Dbasic_functions.c3033 PHP_FE(floatval, arginfo_floatval)
3034 PHP_FALIAS(doubleval, floatval, arginfo_floatval)
/PHP-5.3/ext/reflection/tests/
H A DReflectionExtension_getVersion_basic.phpt10 $test = floatval($var) == $var ? true : false;
/PHP-5.3/ext/dom/
H A Dxpath.c133 ZVAL_DOUBLE(args[i], obj->floatval); in dom_xpath_ext_function_php()
516 RETVAL_DOUBLE(xpathobjp->floatval) in php_xpath_eval()
/PHP-5.3/ext/xsl/
H A Dxsltprocessor.c239 ZVAL_DOUBLE(args[i], obj->floatval); in xsl_ext_function_php()

Completed in 32 milliseconds