summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2018-06-22 16:22:04 +0200
committerNikita Popov <nikita.ppv@gmail.com>2018-06-22 16:22:04 +0200
commited9d1b708bb83d4819648815a35da96be38ef437 (patch)
tree2757672eb5ab2d5b874ec5b43dba7c1abc45e4dc
parent4a4c72a82a4c5916b51d0387a301e65a1615e18a (diff)
downloadphp-git-ed9d1b708bb83d4819648815a35da96be38ef437.tar.gz
Fixed bug #76520
-rw-r--r--NEWS4
-rw-r--r--Zend/zend_execute_API.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 31589b6f11..c6abc9718e 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,10 @@ PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? ????, PHP 7.2.8
+- Core:
+ . Fixed bug #76520 (Object creation leaks memory when executed over HTTP).
+ (Nikita)
+
- Date:
. Fixed bug #76462 (Undefined property: DateInterval::$f). (Anatol)
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index e46d0d84ee..4ce3a57458 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -142,6 +142,7 @@ void init_executor(void) /* {{{ */
EG(in_autoload) = NULL;
EG(autoload_func) = NULL;
EG(error_handling) = EH_NORMAL;
+ EG(flags) = EG_FLAGS_INITIAL;
zend_vm_stack_init();