Searched refs:hexadecimal (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Dhtml.c795 int hexadecimal = (**buf == 'x' || **buf == 'X'); /* TODO: XML apparently disallows "X" */ local
798 if (hexadecimal && (**buf != '\0'))
803 if ((hexadecimal && !isxdigit(**buf)) ||
804 (!hexadecimal && !isdigit(**buf))) {
808 code_l = ZEND_STRTOL(*buf, &endptr, hexadecimal ? 16 : 10);

Completed in 4 milliseconds