summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2003-12-02 12:06:03 +0000
committerAndi Gutmans <andi@php.net>2003-12-02 12:06:03 +0000
commitd7f839cce7d2c728cb457faef12a43d59eb9edba (patch)
treec0d398fa131988063972b37d14b541a3bfbf8248
parent393376d93693a4dc28b49cbded088122b4d2bf1f (diff)
downloadphp-git-d7f839cce7d2c728cb457faef12a43d59eb9edba.tar.gz
- Fix for bug #26182
-rw-r--r--Zend/zend_compile.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index 3440584e72..53f25f4533 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -2553,6 +2553,10 @@ void zend_do_fetch_property(znode *result, znode *object, znode *property TSRMLS
void zend_do_declare_implicit_property(TSRMLS_D)
{
+/* Fixes bug #26182. Not sure why we needed to do this in the first place.
+ Has to be checked with Zeev.
+*/
+#if ANDI_0
zend_op *opline_ptr;
zend_llist_element *le;
zend_llist *fetch_list_ptr;
@@ -2577,6 +2581,7 @@ void zend_do_declare_implicit_property(TSRMLS_D)
property.u.constant.value.str.val = estrndup(opline_ptr->op2.u.constant.value.str.val, opline_ptr->op2.u.constant.value.str.len);
zend_do_declare_property(&property, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_IMPLICIT_PUBLIC TSRMLS_CC);
}
+#endif
}