[php-src] Issue #7946: Rewrite zend_eval_const_expr to use a stack on the heap instead of recursion where possible?
| From: | nikic | Date: | Sat, 15 Jan 2022 15:27:59 +0000 |
| Subject: | [php-src] Issue #7946: Rewrite zend_eval_const_expr to use a stack on the heap instead of recursion where possible? | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-239023@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7946
Comment Author: nikic
I don't think this makes sense. If it's just a matter of dealing with
"x"
. "y" style cases, we can fold directly during parsing. If it's a matter of
supporting long $x . $y chains, then we should add a concat list node.