mirror of
https://github.com/php/php-src.git
synced 2026-04-22 07:28:09 +02:00
2772751b58
Instead of setting the old AST type to zero, replace the AST with the compiled constexpr AST zval. This requires passing in a zend_ast** instead of a zend_ast*. This allows compiling ASTs containing constexprs multiple times -- the second time, the existing compiled representation will be resused. This means we no longer need to copy the attributes AST for promoted properties.
129 KiB
129 KiB