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