Home
last modified time | relevance | path

Searched refs:tobase (Results 1 – 7 of 7) sorted by relevance

/PHP-7.0/ext/standard/tests/math/
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]);
H A Dbase_convert_error.phpt5 /* Prototype : string base_convert ( string $number , int $frombase , int $tobase )
H A Dbase_convert_variation3.phpt2 Test base_convert() function : usage variations - different data types as $tobase argument
5 /* 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_variation2.phpt5 /* Prototype : string base_convert ( string $number , int $frombase , int $tobase )
/PHP-7.0/ext/standard/
H A Dmath.c1087 zend_long frombase, tobase; in PHP_FUNCTION() local
1090 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zll", &number, &frombase, &tobase) == FAILURE) { in PHP_FUNCTION()
1099 if (tobase < 2 || tobase > 36) { in PHP_FUNCTION()
1100 php_error_docref(NULL, E_WARNING, "Invalid `to base' (%pd)", tobase); in PHP_FUNCTION()
1107 result = _php_math_zvaltobase(&temp, (int)tobase); in PHP_FUNCTION()
H A Dbasic_functions.c1754 ZEND_ARG_INFO(0, tobase)

Completed in 25 milliseconds