mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-5.6' into PHP-7.0
Conflicts: Zend/zend_strtod.c
This commit is contained in:
commit
f7439afeda
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue