Commit:    b56c1ca95e16ea1c2a3ce251b91297d0a81a9070
Author:    Bob Weinand <bobw...@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);
                }


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to