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

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

Completed in 5 milliseconds