Re: First-class constructor callables
| From: | Arnaud Le Blanc | Date: | Fri, 21 Nov 2025 15:40:53 +0000 |
| Subject: | Re: First-class constructor callables | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-129375@lists.php.net to get a copy of this message | ||
Hi Gina,
On Fri, Nov 21, 2025 at 4:47 AM Gina P. Banyard <internals@gpb.moe> wrote:
> Oh so one more reason to get rid of the get_constructor() handler then.
> Would the approach that I started prototyping in
> https://github.com/php/php-src/pull/19797 help as we would know
> the
> zend_function the moment we have the CE?
This would help as long as the get_constructor() handler is also
removed (so that zend_class_entry.constructor is always the truth), or
moved to zend_class_entry.
Best Regards,
Arnaud