Home
last modified time | relevance | path

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

/PHP-5.4/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]);
H A Dbase_convert_error.phpt5 /* Prototype : string base_convert ( string $number , int $frombase , int $tobase )
H A Dbase_convert_variation2.phpt2 Test base_convert() function : usage variations - different data types as $frombase 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_variation3.phpt5 /* Prototype : string base_convert ( string $number , int $frombase , int $tobase )
/PHP-5.4/ext/standard/
H A Dmath.c1068 long frombase, tobase; in PHP_FUNCTION() local
1071 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Zll", &number, &frombase, &tobase) == FAILUR… in PHP_FUNCTION()
1076 if (frombase < 2 || frombase > 36) { in PHP_FUNCTION()
1077 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid `from base' (%ld)", frombase); in PHP_FUNCTION()
1085 if(_php_math_basetozval(*number, frombase, &temp) == FAILURE) { in PHP_FUNCTION()
H A Dbasic_functions.c1789 ZEND_ARG_INFO(0, frombase)

Completed in 24 milliseconds