[php-src] PR #19029: Make `zend_register_*_constant()` functions return pointers, use them
| From: | DanielEScherzer | Date: | Thu, 03 Jul 2025 22:44:42 +0000 |
| Subject: | [php-src] PR #19029: Make `zend_register_*_constant()` functions return pointers, use them | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32311@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19029
Author: DanielEScherzer
Have each of the specialized methods for registering a constant return a pointer to the registered
constant the same way that the generic
zend_register_constant() function does, and use
those in the generated arginfo files to avoid needing to search for a constant that was just
registered in order to add attributes to it.