Home
last modified time | relevance | path

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

/PHP-8.2/ext/standard/
H A Dmath.c978 zend_long frombase, tobase; in PHP_FUNCTION() local
983 Z_PARAM_LONG(frombase) in PHP_FUNCTION()
987 if (frombase < 2 || frombase > 36) { in PHP_FUNCTION()
996 _php_math_basetozval(number, (int)frombase, &temp); in PHP_FUNCTION()
/PHP-8.2/ext/standard/tests/math/
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]);

Completed in 10 milliseconds