diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2016-04-21 02:45:09 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2016-04-21 02:45:09 +0200 |
commit | a287c3f7763afd10cc9b4201dc2e6ac84f2959dd (patch) | |
tree | 71ead21fdc8c4335e07c20c5b748d86100008ef2 /Zend/zend_execute.c | |
parent | 672a99597cce8b3ff133a8fddd44c1a9fc0158e5 (diff) | |
download | php-git-a287c3f7763afd10cc9b4201dc2e6ac84f2959dd.tar.gz |
Fix magic constants (__LINE__) with ?? for constant scalar exprs
Also fix general memory leak when root ast gets replaced in compile time evaluation
Diffstat (limited to 'Zend/zend_execute.c')
-rw-r--r-- | Zend/zend_execute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index 324cf82e2b..cda98fd8a4 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -1914,7 +1914,7 @@ ZEND_API void zend_fetch_dimension_by_zval(zval *result, zval *container, zval * ZEND_API void zend_fetch_dimension_by_zval_is(zval *result, zval *container, zval *dim, int dim_type) { - zend_fetch_dimension_address_read(result, container, dim, dim_type, BP_VAR_IS, 1); + zend_fetch_dimension_address_read(result, container, dim, dim_type, BP_VAR_IS); } |