Merge branch 'PHP-5.6' into PHP-7.0

Conflicts:
	Zend/zend_strtod.c
This commit is contained in:
Xinchen Hui 2016-05-06 23:52:48 -07:00
commit f7439afeda

View File

@ -4416,7 +4416,7 @@ ZEND_API double zend_hex_strtod(const char *str, const char **endptr)
int any = 0;
double value = 0;
if (strlen(str) < 2) {
if (s[0] == '\0' || s[1] == '\0') {
if (endptr != NULL) {
*endptr = str;
}