[php-src] PR #24392: Rework how attributed constants are stored and handled
| From: | ndossche | Date: | Sat, 17 Oct 2026 22:38:54 +0000 |
| Subject: | [php-src] PR #24392: Rework how attributed constants are stored and handled | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-39525@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/24392
Author: ndossche
The original PR GH-16952 introduced special handling and a special flag to store the attribute via
an OP_DATA opcode. It required special handling in various places.
This commit reworks that by introducing a type specialization of the zend_constant structure and
storing the attribute data in the main op array.
This reduces complexity and removes special handling in various places.