/opt/cpanel/ea-php84/root/usr/include/php/Zend
NameSizeModeActions
Optimizer/-0755rm
zend.h177580644editdlrm
zend_alloc.h207010644editdlrm
zend_alloc_sizes.h26290644editdlrm
zend_API.h1089560644editdlrm
zend_arena.h60810644editdlrm
zend_ast.h137890644editdlrm
zend_atomic.h130810644editdlrm
zend_attributes.h59130644editdlrm
zend_attributes_arginfo.h145220644editdlrm
zend_bitset.h80830644editdlrm
zend_build.h16260644editdlrm
zend_builtin_functions.h15730644editdlrm
zend_builtin_functions_arginfo.h152290644editdlrm
zend_call_stack.h31000644editdlrm
zend_closures.h23150644editdlrm
zend_closures_arginfo.h20640644editdlrm
zend_compile.h534500644editdlrm
zend_config.h320644editdlrm
zend_constants.h71280644editdlrm
zend_constants_arginfo.h18930644editdlrm
zend_cpuinfo.h95130644editdlrm
zend_dtrace.h20510644editdlrm
zend_enum.h29280644editdlrm
zend_enum_arginfo.h16910644editdlrm
zend_errors.h24160644editdlrm
zend_exceptions.h46480644editdlrm
zend_exceptions_arginfo.h176780644editdlrm
zend_execute.h239640644editdlrm
zend_extensions.h65880644editdlrm
zend_fibers.h54120644editdlrm
zend_fibers_arginfo.h35300644editdlrm
zend_float.h154680644editdlrm
zend_frameless_function.h55180644editdlrm
zend_gc.h46880644editdlrm
zend_gdb.h14200644editdlrm
zend_generators.h76640644editdlrm
zend_generators_arginfo.h28890644editdlrm
zend_globals.h100040644editdlrm
zend_globals_macros.h28410644editdlrm
zend_hash.h515670644editdlrm
zend_highlight.h23210644editdlrm
zend_hrtime.h38420644editdlrm
zend_inheritance.h31860644editdlrm
zend_ini.h121630644editdlrm
zend_ini_parser.h35650644editdlrm
zend_ini_scanner.h19780644editdlrm
zend_ini_scanner_defs.h2060644editdlrm
zend_interfaces.h41180644editdlrm
zend_interfaces_arginfo.h78390644editdlrm
zend_iterators.h39010644editdlrm
zend_language_parser.h109640644editdlrm
zend_language_scanner.h30710644editdlrm
zend_language_scanner_defs.h2650644editdlrm
zend_lazy_objects.h47190644editdlrm
zend_list.h34830644editdlrm
zend_llist.h40320644editdlrm
zend_long.h42270644editdlrm
zend_map_ptr.h35710644editdlrm
zend_max_execution_timer.h14840644editdlrm
zend_mmap.h15120644editdlrm
zend_modules.h48260644editdlrm
zend_multibyte.h49460644editdlrm
zend_multiply.h103020644editdlrm
zend_objects.h19410644editdlrm
zend_objects_API.h56070644editdlrm
zend_object_handlers.h180850644editdlrm
zend_observer.h90360644editdlrm
zend_operators.h340590644editdlrm
zend_portability.h274450644editdlrm
zend_property_hooks.h18240644editdlrm
zend_ptr_stack.h43210644editdlrm
zend_range_check.h30000644editdlrm
zend_signal.h41050644editdlrm
zend_smart_str.h70450644editdlrm
zend_smart_string.h42070644editdlrm
zend_smart_string_public.h12400644editdlrm
zend_smart_str_public.h12220644editdlrm
zend_sort.h15600644editdlrm
zend_stack.h24420644editdlrm
zend_stream.h36410644editdlrm
zend_string.h226930644editdlrm
zend_strtod.h23440644editdlrm
zend_strtod_int.h28740644editdlrm
zend_system_id.h14240644editdlrm
zend_types.h522850644editdlrm
zend_type_info.h45440644editdlrm
zend_variables.h30880644editdlrm
zend_verify_type_inference.h82620644editdlrm
zend_virtual_cwd.h132170644editdlrm
zend_vm.h21120644editdlrm
zend_vm_def.h3028090644editdlrm
zend_vm_execute.h22780090644editdlrm
zend_vm_handlers.h927110644editdlrm
zend_vm_opcodes.h138190644editdlrm
zend_vm_trace_handlers.h32160644editdlrm
zend_vm_trace_lines.h17550644editdlrm
zend_vm_trace_map.h26650644editdlrm
zend_weakrefs.h32260644editdlrm
zend_weakrefs_arginfo.h34400644editdlrm
Edit: /opt/cpanel/ea-php84/root/usr/include/php/Zend/zend_frameless_function.h (5518B)
/* +----------------------------------------------------------------------+ | Zend Engine | +----------------------------------------------------------------------+ | Copyright (c) Zend Technologies Ltd. (http://www.zend.com) | +----------------------------------------------------------------------+ | This source file is subject to version 2.00 of the Zend license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | | http://www.zend.com/license/2_00.txt. | | If you did not receive a copy of the Zend license and are unable to | | obtain it through the world-wide-web, please send a note to | | license@zend.com so we can mail you a copy immediately. | +----------------------------------------------------------------------+ */ #ifndef ZEND_FRAMELESS_FUNCTION_H #define ZEND_FRAMELESS_FUNCTION_H #include #include #ifdef PHP_WIN32 # include #else # include #endif #include "zend_portability.h" #define ZEND_FRAMELESS_FUNCTION_PARAMETERS_0 zval *return_value #define ZEND_FRAMELESS_FUNCTION_PARAMETERS_1 zval *return_value, zval *arg1 #define ZEND_FRAMELESS_FUNCTION_PARAMETERS_2 zval *return_value, zval *arg1, zval *arg2 #define ZEND_FRAMELESS_FUNCTION_PARAMETERS_3 zval *return_value, zval *arg1, zval *arg2, zval *arg3 #define ZEND_FRAMELESS_FUNCTION_NAME(name, arity) zflf_##name##_##arity #define ZEND_OP_IS_FRAMELESS_ICALL(opcode) ((opcode) >= ZEND_FRAMELESS_ICALL_0 && (opcode) <= ZEND_FRAMELESS_ICALL_3) #define ZEND_FLF_NUM_ARGS(opcode) ((opcode) - ZEND_FRAMELESS_ICALL_0) #define ZEND_FLF_FUNC(opline) (zend_flf_functions[(opline)->extended_value]) #define ZEND_FLF_HANDLER(opline) (zend_flf_handlers[(opline)->extended_value]) #define ZEND_FRAMELESS_FUNCTION(name, arity) \ void ZEND_FRAMELESS_FUNCTION_NAME(name, arity)(ZEND_FRAMELESS_FUNCTION_PARAMETERS_##arity) #define Z_FLF_PARAM_ZVAL(arg_num, dest) \ dest = arg ## arg_num; #define Z_FLF_PARAM_ARRAY(arg_num, dest) \ if (!zend_parse_arg_array(arg ## arg_num, &dest, /* null_check */ false, /* or_object */ false)) { \ zend_wrong_parameter_type_error(arg_num, Z_EXPECTED_ARRAY, arg ## arg_num); \ goto flf_clean; \ } #define Z_FLF_PARAM_ARRAY_OR_NULL(arg_num, dest) \ if (!zend_parse_arg_array(arg ## arg_num, &dest, /* null_check */ true, /* or_object */ false)) { \ zend_wrong_parameter_type_error(arg_num, Z_EXPECTED_ARRAY_OR_NULL, arg ## arg_num); \ goto flf_clean; \ } #define Z_FLF_PARAM_ARRAY_HT_OR_STR(arg_num, dest_ht, dest_str, str_tmp) \ if (Z_TYPE_P(arg ## arg_num) == IS_STRING) { \ dest_ht = NULL; \ dest_str = Z_STR_P(arg ## arg_num); \ } else if (EXPECTED(Z_TYPE_P(arg ## arg_num) == IS_ARRAY)) { \ dest_ht = Z_ARRVAL_P(arg ## arg_num); \ dest_str = NULL; \ } else { \ dest_ht = NULL; \ ZVAL_COPY(&str_tmp, arg ## arg_num); \ arg ## arg_num = &str_tmp; \ if (!zend_flf_parse_arg_str_slow(arg ## arg_num, &dest_str, arg_num)) { \ zend_wrong_parameter_type_error(arg_num, Z_EXPECTED_ARRAY_OR_STRING, arg ## arg_num); \ goto flf_clean; \ } \ } #define Z_FLF_PARAM_BOOL(arg_num, dest) \ if (!zend_parse_arg_bool_ex(arg ## arg_num, &dest, /* is_null */ NULL, /* null_check */ false, arg_num, /* frameless */ true)) { \ zend_wrong_parameter_type_error(arg_num, Z_EXPECTED_BOOL, arg ## arg_num); \ goto flf_clean; \ } #define Z_FLF_PARAM_LONG(arg_num, dest) \ if (!zend_parse_arg_long_ex(arg ## arg_num, &dest, /* is_null */ NULL, /* null_check */ false, arg_num, /* frameless */ true)) { \ zend_wrong_parameter_type_error(arg_num, Z_EXPECTED_LONG, arg ## arg_num); \ goto flf_clean; \ } #define Z_FLF_PARAM_LONG_OR_NULL(arg_num, is_null, dest) \ if (!zend_parse_arg_long_ex(arg ## arg_num, &dest, &is_null, /* null_check */ true, arg_num, /* frameless */ true)) { \ zend_wrong_parameter_type_error(arg_num, Z_EXPECTED_LONG_OR_NULL, arg ## arg_num); \ goto flf_clean; \ } #define Z_FLF_PARAM_STR(arg_num, dest, tmp) \ if (Z_TYPE_P(arg ## arg_num) == IS_STRING) { \ dest = Z_STR_P(arg ## arg_num); \ } else { \ ZVAL_COPY(&tmp, arg ## arg_num); \ arg ## arg_num = &tmp; \ if (!zend_parse_arg_str_ex(arg ## arg_num, &dest, /* null_check */ false, arg_num, /* frameless */ true)) { \ zend_wrong_parameter_type_error(arg_num, Z_EXPECTED_STRING, arg ## arg_num); \ goto flf_clean; \ } \ } #define Z_FLF_PARAM_FREE_STR(arg_num, tmp) \ if (UNEXPECTED(arg ## arg_num == &tmp)) { \ zval_ptr_dtor(arg ## arg_num); \ } BEGIN_EXTERN_C() typedef struct _zval_struct zval; typedef struct _zend_op zend_op; typedef union _zend_function zend_function; typedef void (*zend_frameless_function_0)(zval *return_value); typedef void (*zend_frameless_function_1)(zval *return_value, zval *op1); typedef void (*zend_frameless_function_2)(zval *return_value, zval *op1, zval *op2); typedef void (*zend_frameless_function_3)(zval *return_value, zval *op1, zval *op2, zval *op3); extern size_t zend_flf_count; extern size_t zend_flf_capacity; ZEND_API extern void **zend_flf_handlers; ZEND_API extern zend_function **zend_flf_functions; typedef struct { void *handler; uint32_t num_args; } zend_frameless_function_info; typedef enum { ZEND_JMP_FL_UNPRIMED = 0, ZEND_JMP_FL_MISS = 1, ZEND_JMP_FL_HIT = 2, } zend_jmp_fl_result; END_EXTERN_C() #endif