/opt/cpanel/ea-php85/root/usr/include/php/Zend
NameSizeModeActions
Optimizer/-0755rm
zend.h178480644editdlrm
zend_alloc.h208070644editdlrm
zend_alloc_sizes.h26290644editdlrm
zend_API.h1091100644editdlrm
zend_arena.h60810644editdlrm
zend_ast.h148480644editdlrm
zend_atomic.h130810644editdlrm
zend_attributes.h65890644editdlrm
zend_attributes_arginfo.h158730644editdlrm
zend_bitset.h80290644editdlrm
zend_build.h16260644editdlrm
zend_builtin_functions.h15730644editdlrm
zend_builtin_functions_arginfo.h158650644editdlrm
zend_call_stack.h31420644editdlrm
zend_closures.h23150644editdlrm
zend_closures_arginfo.h23070644editdlrm
zend_compile.h544820644editdlrm
zend_config.h320644editdlrm
zend_constants.h73150644editdlrm
zend_constants_arginfo.h27100644editdlrm
zend_cpuinfo.h95130644editdlrm
zend_dtrace.h20510644editdlrm
zend_enum.h29280644editdlrm
zend_enum_arginfo.h16910644editdlrm
zend_errors.h24160644editdlrm
zend_exceptions.h45790644editdlrm
zend_exceptions_arginfo.h157970644editdlrm
zend_execute.h272340644editdlrm
zend_extensions.h65880644editdlrm
zend_fibers.h54120644editdlrm
zend_fibers_arginfo.h35300644editdlrm
zend_float.h154680644editdlrm
zend_frameless_function.h55180644editdlrm
zend_gc.h50260644editdlrm
zend_gdb.h14200644editdlrm
zend_generators.h76640644editdlrm
zend_generators_arginfo.h28890644editdlrm
zend_globals.h101510644editdlrm
zend_globals_macros.h28410644editdlrm
zend_hash.h524700644editdlrm
zend_highlight.h23210644editdlrm
zend_hrtime.h42470644editdlrm
zend_inheritance.h32040644editdlrm
zend_ini.h121950644editdlrm
zend_ini_parser.h35650644editdlrm
zend_ini_scanner.h19780644editdlrm
zend_ini_scanner_defs.h2040644editdlrm
zend_interfaces.h41180644editdlrm
zend_interfaces_arginfo.h78390644editdlrm
zend_iterators.h39010644editdlrm
zend_language_parser.h110650644editdlrm
zend_language_scanner.h30710644editdlrm
zend_language_scanner_defs.h2630644editdlrm
zend_lazy_objects.h47730644editdlrm
zend_list.h34830644editdlrm
zend_llist.h40320644editdlrm
zend_long.h42270644editdlrm
zend_map_ptr.h35710644editdlrm
zend_max_execution_timer.h15160644editdlrm
zend_mmap.h15120644editdlrm
zend_modules.h48260644editdlrm
zend_multibyte.h49460644editdlrm
zend_multiply.h103310644editdlrm
zend_objects.h20730644editdlrm
zend_objects_API.h59800644editdlrm
zend_object_handlers.h184950644editdlrm
zend_observer.h90360644editdlrm
zend_operators.h367570644editdlrm
zend_portability.h287970644editdlrm
zend_property_hooks.h18240644editdlrm
zend_ptr_stack.h43210644editdlrm
zend_range_check.h30000644editdlrm
zend_signal.h41050644editdlrm
zend_simd.h201100644editdlrm
zend_smart_str.h70450644editdlrm
zend_smart_string.h43320644editdlrm
zend_smart_string_public.h12400644editdlrm
zend_smart_str_public.h12220644editdlrm
zend_sort.h15600644editdlrm
zend_stack.h24420644editdlrm
zend_stream.h36410644editdlrm
zend_string.h229470644editdlrm
zend_strtod.h23440644editdlrm
zend_strtod_int.h28740644editdlrm
zend_system_id.h14240644editdlrm
zend_types.h530870644editdlrm
zend_type_info.h45440644editdlrm
zend_variables.h31380644editdlrm
zend_verify_type_inference.h82620644editdlrm
zend_virtual_cwd.h132170644editdlrm
zend_vm.h23500644editdlrm
zend_vm_def.h3062860644editdlrm
zend_vm_execute.h41974620644editdlrm
zend_vm_handlers.h931760644editdlrm
zend_vm_opcodes.h154550644editdlrm
zend_vm_trace_handlers.h32160644editdlrm
zend_vm_trace_lines.h17550644editdlrm
zend_vm_trace_map.h26650644editdlrm
zend_weakrefs.h34600644editdlrm
zend_weakrefs_arginfo.h34400644editdlrm
Edit: /opt/cpanel/ea-php85/root/usr/include/php/Zend/zend_iterators.h (3901B)
/* +----------------------------------------------------------------------+ | 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. | +----------------------------------------------------------------------+ | Author: Wez Furlong | | Marcus Boerger | +----------------------------------------------------------------------+ */ #ifndef ZEND_ITERATORS_H #define ZEND_ITERATORS_H #include "zend_types.h" /* These iterators were designed to operate within the foreach() * structures provided by the engine, but could be extended for use * with other iterative engine opcodes. * These methods have similar semantics to the zend_hash API functions * with similar names. * */ typedef struct _zend_object_iterator zend_object_iterator; typedef struct _zend_object_iterator_funcs { /* release all resources associated with this iterator instance */ void (*dtor)(zend_object_iterator *iter); /* check for end of iteration (FAILURE or SUCCESS if data is valid) */ zend_result (*valid)(zend_object_iterator *iter); /* fetch the item data for the current element */ zval *(*get_current_data)(zend_object_iterator *iter); /* fetch the key for the current element (optional, may be NULL). The key * should be written into the provided zval* using the ZVAL_* macros. If * this handler is not provided auto-incrementing integer keys will be * used. */ void (*get_current_key)(zend_object_iterator *iter, zval *key); /* step forwards to next element */ void (*move_forward)(zend_object_iterator *iter); /* rewind to start of data (optional, may be NULL) */ void (*rewind)(zend_object_iterator *iter); /* invalidate current value/key (optional, may be NULL) */ void (*invalidate_current)(zend_object_iterator *iter); /* Expose owned values to GC. * This has the same semantics as the corresponding object handler. */ HashTable *(*get_gc)(zend_object_iterator *iter, zval **table, int *n); } zend_object_iterator_funcs; struct _zend_object_iterator { zend_object std; zval data; const zend_object_iterator_funcs *funcs; zend_ulong index; /* private to fe_reset/fe_fetch opcodes */ }; typedef struct _zend_class_iterator_funcs { zend_function *zf_new_iterator; zend_function *zf_valid; zend_function *zf_current; zend_function *zf_key; zend_function *zf_next; zend_function *zf_rewind; } zend_class_iterator_funcs; typedef struct _zend_class_arrayaccess_funcs { zend_function *zf_offsetget; zend_function *zf_offsetexists; zend_function *zf_offsetset; zend_function *zf_offsetunset; } zend_class_arrayaccess_funcs; BEGIN_EXTERN_C() /* given a zval, returns stuff that can be used to iterate it. */ ZEND_API zend_object_iterator* zend_iterator_unwrap(zval *array_ptr); /* given an iterator, wrap it up as a zval for use by the engine opcodes */ ZEND_API void zend_iterator_init(zend_object_iterator *iter); ZEND_API void zend_iterator_dtor(zend_object_iterator *iter); ZEND_API void zend_register_iterator_wrapper(void); END_EXTERN_C() #endif /* ZEND_ITERATORS_H */