[php-src] PR #11261: Use zend_ast_apply in zend_eval_const_expr
| From: | iluuu1994 | Date: | Wed, 17 May 2023 15:53:50 +0000 |
| Subject: | [php-src] PR #11261: Use zend_ast_apply in zend_eval_const_expr | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-22530@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11261
Author: iluuu1994
Supporting new constant expressions requires remembering to add them to zend_eval_const_expr, even
if it only evalutes its children. This is routinely forgotten, at least by me. Use zend_ast_apply to
solve this generically.