Searched defs:frombase (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Dmath.c1214 /* {{{ proto string base_convert(string number, int frombase, int tobase)
1219 zend_long frombase, tobase; local
1222 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zll", &number, &frombase, &tobase) == FAILURE) {
1227 if (frombase < 2 || frombase > 36) {
1228 php_error_docref(NULL, E_WARNING, "Invalid `from base' (%pd)", frombase);
1236 if(_php_math_basetozval(number, (int)frombase, &temp) == FAILURE) {

Completed in 4 milliseconds