Home
last modified time | relevance | path

Searched refs:frombase (Results 1 – 5 of 5) sorted by relevance

/PHP-7.4/ext/standard/tests/math/
H A Dbase_convert_error.phpt5 /* Prototype : string base_convert ( string $number , int $frombase , int $tobase )
H A Dbase_convert_variation1.phpt5 /* Prototype : string base_convert ( string $number , int $frombase , int $tobase )
H A Dbase_convert_basic.phpt5 $frombase = array(2,8,10,16,36);
20 for ($f= 0; $f < count($frombase); $f++) {
21 echo "\n...from base is ", $frombase[$f], "\n";
25 $res = base_convert($values[$i],$frombase[$f],$tobase[$t]);
/PHP-7.4/ext/standard/
H A Dmath.c1104 zend_long frombase, tobase; in PHP_FUNCTION() local
1109 Z_PARAM_LONG(frombase) in PHP_FUNCTION()
1117 if (frombase < 2 || frombase > 36) { in PHP_FUNCTION()
1118 php_error_docref(NULL, E_WARNING, "Invalid `from base' (" ZEND_LONG_FMT ")", frombase); in PHP_FUNCTION()
1126 if(_php_math_basetozval(number, (int)frombase, &temp) == FAILURE) { in PHP_FUNCTION()
H A Dbasic_functions.c1753 ZEND_ARG_INFO(0, frombase)

Completed in 36 milliseconds