com php-src: Fatal error about self referencing constants fixed: Zend/zend_execute_API.c
| From: | Bob Weinand | Date: | Thu, 31 Oct 2013 18:05:29 +0000 |
| Subject: | com php-src: Fatal error about self referencing constants fixed: Zend/zend_execute_API.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-74122@lists.php.net to get a copy of this message | ||
Commit: b56c1ca95e16ea1c2a3ce251b91297d0a81a9070
Author: Bob Weinand <bobwei9@hotmail.com> Thu, 31 Oct 2013 19:05:29 +0100
Parents: 466c5dd1fe194ab3d1634695e2dc96240f951f50
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b56c1ca95e16ea1c2a3ce251b91297d0a81a9070
Log:
Fatal error about self referencing constants fixed
Changed paths:
M Zend/zend_execute_API.c
Diff:
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index a66cdee..e5b68c7 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -675,8 +675,6 @@ ZEND_API int zval_update_constant_ex(zval **pp, void *arg, zend_class_entry *sco
case IS_CONSTANT_AST: {
zend_ast *ast = Z_AST_P(p);
- MARK_CONSTANT_VISITED(p);
-
zend_ast_evaluate(p, ast TSRMLS_CC);
ZEND_AST_DEL_REF(ast);
}