Skip to content

Conversation

@TimWolla
Copy link
Member

Nowadays virtually any PHP application is making use of autoloading, making the lazy allocation of the HashTable struct a needless pointer indirection.

Nowadays virtually any PHP application is making use of autoloading, making the
lazy allocation of the `HashTable` struct a needless pointer indirection.
The old name `in_autoload` was somewhat misleading by implying a `bool`ean
value rather than a `HashTable`. Since the previous change to embed the
`HashTable` is breaking anyway, we can also rename it.
@Girgias
Copy link
Member

Girgias commented Feb 11, 2026

I know @arnaud-lb also told me that it might make sense to move the zend_class_autoload_functions HashTable to the executor globals. Just mentioning because this is somewhat related.

@TimWolla TimWolla merged commit 7134e69 into php:master Feb 11, 2026
10 checks passed
@TimWolla TimWolla deleted the in-autoload-embed branch February 11, 2026 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants