File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -124,13 +124,13 @@ PHP 7.4 INTERNALS UPGRADE NOTES
124
124
125
125
h. Opcache may make classes and op_arrays immutable. Such classes are marked
126
126
by ZEND_ACC_IMMUTABLE flag, they are not going to be copied from opcache
127
- shard memory to process memory and must not be modified at all.
127
+ shared memory to process memory and must not be modified at all.
128
128
Few related data structures were changed to allow addressing mutable data
129
129
structures from immutable ones. This access is implemented through
130
130
ZEND_MAP_PTR... abstraction macros and, basically, uses additional level of
131
131
indirection. op_array->run_time_cache, op_array->static_variables_ptr,
132
132
class_entry->static_members_table and class_entry->iterator_funcs_ptr now
133
- have to be access through ZEND_MAP_PTR... macros.
133
+ have to be accessed through ZEND_MAP_PTR... macros.
134
134
It's also not allowed to change op_array->reserved[] handles of immutable
135
135
op_arrays. Instead, now you have to reserve op_array handle using
136
136
zend_get_op_array_extension_handle() during MINIT and access its value
You can’t perform that action at this time.
0 commit comments