[php-src] PR #18915: Fix GH-18639: Internal class aliases can break preloading + JIT
| From: | nielsdos | Date: | Sun, 22 Jun 2025 18:33:00 +0000 |
| Subject: | [php-src] PR #18915: Fix GH-18639: Internal class aliases can break preloading + JIT | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32147@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18915
Author: nielsdos
ZEND_FUNC_INFO() can not be used on internal CE's. If preloading makes a CE that's an
alias of an internal class, the invalid access happens when setting the FUNC_INFO.
While we could check the class type to be of user code, we can just skip aliases altogether anyway
which may be faster.