mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-5.6' into PHP-7.0
Conflicts: Zend/zend_strtod.c
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user