@@ -157,6 +157,28 @@ PHP 8.0 INTERNALS UPGRADE NOTES
157
157
- zend_fcall_info_argp()
158
158
- zend_fcall_info_argv()
159
159
- zend_fcall_info_argn()
160
+ - zend_startup()
161
+ - zend_set_memory_limit()
162
+ - pass_two()
163
+ - zend_startup_constants()
164
+ - zend_shutdown_constants()
165
+ - zend_startup_extensions_mechanism()
166
+ - zend_startup_extensions()
167
+ - zend_register_extension()
168
+ - highlight_string()
169
+ - zend_ini_startup()
170
+ - zend_ini_shutdown()
171
+ - zend_ini_global_shutdown()
172
+ - zend_ini_deactivate()
173
+ - zend_copy_ini_directives()
174
+ - zend_prepare_string_for_scanning()
175
+ - zend_init_rsrc_list()
176
+ - zend_list_close()
177
+ - zend_signal()
178
+ - zend_sigaction()
179
+ - zend_stack_init()
180
+ - zend_stack_del_top()
181
+ - zend_stack_destroy()
160
182
2. Argument int to uint32_t in Zend Engine 4.0:
161
183
- _zend_get_parameters_array_ex()
162
184
- zend_copy_parameters_array()
@@ -168,8 +190,39 @@ PHP 8.0 INTERNALS UPGRADE NOTES
168
190
- zend_wrong_parameter*()
169
191
- zend_wrong_callback_error()
170
192
- zend_parse_arg_class()
171
- 3. Argument int to zend_bool in Zend Engine 4.0:
193
+ 3. Argument int to bool in Zend Engine 4.0:
172
194
- add_next_index_bool()
195
+ - zend_register_class_alias_ex()
196
+ - add_assoc_bool_ex()
197
+ - add_index_bool()
198
+ - zend_fcall_info_args_clear()
199
+ - zend_set_local_var()
200
+ - zend_set_local_var_str()
201
+ - zend_parse_arg_*()
202
+ - shutdown_memory_manager()
203
+ - zend_memory_usage()
204
+ - zend_memory_peak_usage()
205
+ - zend_mm_shutdown()
206
+ - zend_eval_string*()
207
+ - zend_set_timeout()
208
+ - _zend_hash_append_ex()
209
+ - _zend_hash_append_ptr_ex()
210
+ - zend_alter_ini_entry_ex()
211
+ - (*zend_encoding_list_parser) typedef
212
+ - zend_multibyte_parse_encoding_list()
213
+ - zend_safe_address()
214
+ - zend_string_tolower_ex()
215
+ - zend_string_alloc()
216
+ - zend_string_safe_alloc()
217
+ - zend_string_init()
218
+ - zend_string_dup()
219
+ - zend_string_realloc()
220
+ - zend_string_extend()
221
+ - zend_string_truncate()
222
+ - zend_string_safe_realloc()
223
+ - zend_string_release_ex()
224
+ - zend_ts_hash_merge()
225
+ - zend_ts_hash_sort()
173
226
4. Argument int to size_t in Zend Engine 4.0:
174
227
- zend_set_hash_symbol()
175
228
5. Argument zval* to zend_object* in Zend Engine 4.0:
@@ -184,6 +237,135 @@ PHP 8.0 INTERNALS UPGRADE NOTES
184
237
- zend_get_exception_base()
185
238
6. Argument zval* to zend_long in Zend Engine 4.0:
186
239
- _php_math_longtobase()
240
+ 7. Return type from int to zend_result in Zend Engine 4.0:
241
+ - (*stream_open_function) in _zend_utility_functions
242
+ - (*zend_post_startup_cb)
243
+ - (*zend_preload_autoload)
244
+ - zend_execute_scripts()
245
+ - zend_post_startup()
246
+ - _zend_get_parameters_array_ex()
247
+ - zend_copy_parameters_array()
248
+ - zend_parse_parameters()
249
+ - zend_parse_parameters_ex()
250
+ - zend_parse_method_parameters()
251
+ - zend_parse_method_parameters_ex()
252
+ - zend_parse_method_parameters()
253
+ - zend_register_functions()
254
+ - zend_startup_module()
255
+ - zend_startup_module_ex()
256
+ - zend_register_class_alias_ex()
257
+ - zend_disable_function()
258
+ - zend_disable_class()
259
+ - zend_update_class_constants()
260
+ - zend_update_static_property*()
261
+ - object_init_ex()
262
+ - object_and_properties_init()
263
+ - add_index_zval()
264
+ - add_next_index_long_*()
265
+ - array_set_zval_key()
266
+ - _call_user_function_impl()
267
+ - zend_fcall_info_*()
268
+ - zend_call_function()
269
+ - zend_set_hash_symbol()
270
+ - zend_delete_global_variable()
271
+ - zend_set_local_var()
272
+ - zend_set_local_var_str()
273
+ - zend_forbid_dynamic_call()
274
+ - zend_get_default_from_internal_arg_info()
275
+ - zend_try_assign_typed_ref*()
276
+ - zend_ast_evaluate()
277
+ - zend_startup_builtin_functions()
278
+ - do_bind_function()
279
+ - do_bind_class()
280
+ - zend_unmangle_property_name_ex()
281
+ - zend_register_auto_global()
282
+ - zend_register_constant()
283
+ - zend_exception_error()
284
+ - zend_eval_string*()
285
+ - zend_undefined_offset_write()
286
+ - zend_undefined_index_write()
287
+ - zval_update_constant(_ex)()
288
+ - zend_load_extension()
289
+ - zend_load_extension_handle()
290
+ - zend_hash_del(_ind)()
291
+ - zend_hash_str_del(_ind)()
292
+ - zend_hash_index_del()
293
+ - zend_hash_move_forward_ex()
294
+ - zend_hash_move_backward_ex()
295
+ - zend_hash_get_current_key_ex()
296
+ - zend_hash_get_current_key_type_ex()
297
+ - zend_symtable_del(_ind)()
298
+ - zend_symtable_str_del(_ind)()
299
+ - highlight_file()
300
+ - zend_do_link_class()
301
+ - zend_alter_ini_entry*()
302
+ - zend_restore_ini_entry()
303
+ - zend_ini_register_displayer()
304
+ - zend_ini_open_file_for_scanning()
305
+ - zend_ini_prepare_string_for_scanning()
306
+ - zend_user_it_valid()
307
+ - zend_create_internal_iterator_zval()
308
+ - zend_multibyte_set_filter()
309
+ - zend_lex_tstring()
310
+ - _zend_module_entry module_startup_func, module_shutdown_func,
311
+ request_startup_func, and request_shutdown_func function pointers
312
+ - (*zend_encoding_list_parser) typedef
313
+ - (*zend_encoding_internal_encoding_setter) typedef
314
+ - zend_multibyte_set_functions()
315
+ - zend_multibyte_set_script_encoding_by_string()
316
+ - add_function()
317
+ - sub_function()
318
+ - mul_function()
319
+ - pow_function()
320
+ - div_function()
321
+ - mod_function()
322
+ - boolean_xor_function()
323
+ - boolean_not_function()
324
+ - bitwise_not_function()
325
+ - bitwise_or_function()
326
+ - bitwise_and_function()
327
+ - bitwise_xor_function()
328
+ - shift_left_function()
329
+ - shift_right_function()
330
+ - concat_function()
331
+ - is_equal_function(
332
+ - is_identical_function()
333
+ - is_not_identical_function()
334
+ - is_not_equal_function()
335
+ - is_smaller_function()
336
+ - is_smaller_or_equal_function(zv
337
+ - increment_function()
338
+ - decrement_function()
339
+ - zend_stream_open()
340
+ - zend_stream_fixup()
341
+ - zend_ts_hash_del()
342
+ - zend_ts_hash_index_del()
343
+ 8. Return type from int to bool in Zend Engine 4.0:
344
+ - zend_make_printable_zval()
345
+ - zend_parse_arg_*()
346
+ - is_zend_mm()
347
+ - is_zend_ptr()
348
+ - zend_mm_is_custom_heap()
349
+ - (*zend_mm_chunk_truncate_t)
350
+ - (*zend_mm_chunk_extend_t)
351
+ - zend_bitset_empty()
352
+ - zend_is_smart_branch()
353
+ - zend_check_arg_send_type()
354
+ - zend_verify_const_access()
355
+ - zend_gdb_register_code()
356
+ - zend_gdb_present()
357
+ - _zend_handle_numeric_str(_ex)()
358
+ - zend_hash_exists_ind()
359
+ - zend_hash_str_exists_ind()
360
+ - zend_symtable_exists(_ind)()
361
+ - zend_symtable_str_exists()
362
+ - (*zend_encoding_lexer_compatibility_checker)
363
+ - zend_object_is_true()
364
+ - i_zend_is_true()
365
+ - zendi_smart_streq()
366
+ - zend_stack_is_empty()
367
+ - zend_ts_hash_exists()
368
+ - zend_ts_hash_index_exists()
187
369
188
370
u. Instead of overwriting zend_error_cb extensions with debugging, monitoring
189
371
use-cases catching Errors/Exceptions are strongly encouraged to use
0 commit comments