com php-src: strtod shouldn't recognize hex strings: Zend/zend_strtod_int.h

From: Date: Wed, 18 Mar 2015 13:26:15 +0000
Subject: com php-src: strtod shouldn't recognize hex strings: Zend/zend_strtod_int.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-85622@lists.php.net to get a copy of this message
Commit: e839ed8c99c8ba4c4692ea6d12f0854fe30d73ea Author: Anatol Belski <ab@php.net> Wed, 18 Mar 2015 14:25:40 +0100 Parents: a01b5f29532fe5c0ff5d4d9df2fa2337466670cc Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e839ed8c99c8ba4c4692ea6d12f0854fe30d73ea Log: strtod shouldn't recognize hex strings Changed paths: M Zend/zend_strtod_int.h Diff: diff --git a/Zend/zend_strtod_int.h b/Zend/zend_strtod_int.h index 0a01242..520cadd 100644 --- a/Zend/zend_strtod_int.h +++ b/Zend/zend_strtod_int.h @@ -38,6 +38,10 @@ should be adapted then. */ #define Omit_Private_Memory 1 +/* HEX strings aren't supported as per + https://wiki.php.net/rfc/remove_hex_support_in_numeric_strings */ +#define NO_HEX_FP 1 + #if defined(HAVE_INTTYPES_H) #include <inttypes.h> #elif defined(HAVE_STDINT_H)

« previous php.cvs (#85622) next »