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