mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
typo
This commit is contained in:
@@ -124,13 +124,13 @@ PHP 7.4 INTERNALS UPGRADE NOTES
|
||||
|
||||
h. Opcache may make classes and op_arrays immutable. Such classes are marked
|
||||
by ZEND_ACC_IMMUTABLE flag, they are not going to be copied from opcache
|
||||
shard memory to process memory and must not be modified at all.
|
||||
shared memory to process memory and must not be modified at all.
|
||||
Few related data structures were changed to allow addressing mutable data
|
||||
structures from immutable ones. This access is implemented through
|
||||
ZEND_MAP_PTR... abstraction macros and, basically, uses additional level of
|
||||
indirection. op_array->run_time_cache, op_array->static_variables_ptr,
|
||||
class_entry->static_members_table and class_entry->iterator_funcs_ptr now
|
||||
have to be access through ZEND_MAP_PTR... macros.
|
||||
have to be accessed through ZEND_MAP_PTR... macros.
|
||||
It's also not allowed to change op_array->reserved[] handles of immutable
|
||||
op_arrays. Instead, now you have to reserve op_array handle using
|
||||
zend_get_op_array_extension_handle() during MINIT and access its value
|
||||
|
||||
Reference in New Issue
Block a user