[php-src] PR #18575: Fix GH-18567: Preloading with internal class alias triggers assertion failure
| From: | nielsdos | Date: | Fri, 16 May 2025 19:25:38 +0000 |
| Subject: | [php-src] PR #18575: Fix GH-18567: Preloading with internal class alias triggers assertion failure | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31694@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18575
Author: nielsdos
The assertion is imprecise now, and the code assumed that from the moment an internal class was
encountered that there were only internal classes remaining. This is wrong now, and we still have to
continue if we encounter an internal class. We can only skip the remaining iterations if the entry
in the hash table is not an alias.