mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
zend_globals: Embed in_autoload into zend_executor_globals (#21202)
* zend_globals: Embed `in_autoload` into `zend_executor_globals` Nowadays virtually any PHP application is making use of autoloading, making the lazy allocation of the `HashTable` struct a needless pointer indirection. * zend_globals: Rename `in_autoload` to `autoload_current_classnames` 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. * UPGRADING.INTERNALS
This commit is contained in:
@@ -70,6 +70,8 @@ PHP 8.6 INTERNALS UPGRADE NOTES
|
||||
performed on the result.
|
||||
. The zend_dval_to_lval_cap() function no longer takes a second
|
||||
zend_string* parameter.
|
||||
. EG(in_autoload) was renamed to EG(autoload_current_classnames) and no
|
||||
longer is a pointer, but a directly embedded HashTable struct.
|
||||
|
||||
========================
|
||||
2. Build system changes
|
||||
|
||||
Reference in New Issue
Block a user