Home
last modified time | relevance | path

Searched refs:tobase (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.phpt6 $tobase = array(2,8,10,16,36);
22 for ($t= 0; $t < count($tobase); $t++) {
23 echo "......to base is ", $tobase[$t], "\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
1110 Z_PARAM_LONG(tobase) in PHP_FUNCTION()
1121 if (tobase < 2 || tobase > 36) { in PHP_FUNCTION()
1122 php_error_docref(NULL, E_WARNING, "Invalid `to base' (" ZEND_LONG_FMT ")", tobase); in PHP_FUNCTION()
1129 result = _php_math_zvaltobase(&temp, (int)tobase); in PHP_FUNCTION()
H A Dbasic_functions.c1754 ZEND_ARG_INFO(0, tobase)

Completed in 57 milliseconds