|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patch is_numeric_patch for JSON related Bug #64695Patch version 2013-04-23 04:16 UTC Return to Bug #64695 | Download this patchThis patch is obsolete Obsoleted by patches: Patch Revisions:Developer: keith@openx.com
diff --git a/Zend/zend_operators.h b/Zend/zend_operators.h
index 273347f..e34c87a 100644
--- a/Zend/zend_operators.h
+++ b/Zend/zend_operators.h
@@ -150,6 +150,9 @@ check_digits:
if (*e == '-' || *e == '+') {
ptr = e++;
+ } else {
+ // e without a following +/- is not valid exponent notation
+ return 0;
}
if (ZEND_IS_DIGIT(*e)) {
goto process_double;
|
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 20:00:01 2025 UTC |