/opt/alt/php71/usr/include/php/Zend
NameSizeModeActions
zend.h123760644editdlrm
zend_alloc.h192260644editdlrm
zend_alloc_sizes.h26290644editdlrm
zend_API.h568150644editdlrm
zend_arena.h37420644editdlrm
zend_ast.h83130644editdlrm
zend_bitset.h68720644editdlrm
zend_build.h16260644editdlrm
zend_builtin_functions.h16130644editdlrm
zend_closures.h20820644editdlrm
zend_compile.h333080644editdlrm
zend_config.h1070644editdlrm
zend_config.nw.h25000644editdlrm
zend_config.w32.h27820644editdlrm
zend_constants.h60060644editdlrm
zend_dtrace.h19510644editdlrm
zend_errors.h21580644editdlrm
zend_exceptions.h39420644editdlrm
zend_execute.h142610644editdlrm
zend_extensions.h59920644editdlrm
zend_float.h155520644editdlrm
zend_gc.h48890644editdlrm
zend_generators.h75100644editdlrm
zend_globals.h73160644editdlrm
zend_globals_macros.h27750644editdlrm
zend_hash.h329720644editdlrm
zend_highlight.h23760644editdlrm
zend_inheritance.h19540644editdlrm
zend_ini.h96280644editdlrm
zend_ini_parser.h28980644editdlrm
zend_ini_scanner.h19810644editdlrm
zend_ini_scanner_defs.h2240644editdlrm
zend_interfaces.h43210644editdlrm
zend_istdiostream.h16450644editdlrm
zend_iterators.h35850644editdlrm
zend_language_parser.h82920644editdlrm
zend_language_scanner.h27820644editdlrm
zend_language_scanner_defs.h2960644editdlrm
zend_list.h32410644editdlrm
zend_llist.h38980644editdlrm
zend_long.h44070644editdlrm
zend_modules.h48980644editdlrm
zend_multibyte.h50020644editdlrm
zend_multiply.h84690644editdlrm
zend_objects.h18720644editdlrm
zend_objects_API.h36210644editdlrm
zend_object_handlers.h93900644editdlrm
zend_operators.h291410644editdlrm
zend_portability.h137200644editdlrm
zend_ptr_stack.h43250644editdlrm
zend_range_check.h30960644editdlrm
zend_signal.h40980644editdlrm
zend_smart_str.h46140644editdlrm
zend_smart_str_public.h12790644editdlrm
zend_sort.h17440644editdlrm
zend_stack.h24680644editdlrm
zend_stream.h33080644editdlrm
zend_string.h142330644editdlrm
zend_strtod.h18660644editdlrm
zend_strtod_int.h34990644editdlrm
zend_ts_hash.h66580644editdlrm
zend_types.h322410644editdlrm
zend_type_info.h31990644editdlrm
zend_variables.h54640644editdlrm
zend_virtual_cwd.h127660644editdlrm
zend_vm.h17240644editdlrm
zend_vm_def.h2562150644editdlrm
zend_vm_execute.h19895920644editdlrm
zend_vm_opcodes.h121880644editdlrm
Edit: /opt/alt/php71/usr/include/php/Zend/zend_iterators.h (3585B)
/* +----------------------------------------------------------------------+ | Zend Engine | +----------------------------------------------------------------------+ | Copyright (c) 1998-2018 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 | +----------------------------------------------------------------------+ */ /* $Id$ */ /* 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) */ int (*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); } zend_object_iterator_funcs; struct _zend_object_iterator { zend_object std; zval data; zend_object_iterator_funcs *funcs; zend_ulong index; /* private to fe_reset/fe_fetch opcodes */ }; typedef struct _zend_class_iterator_funcs { zend_object_iterator_funcs *funcs; union _zend_function *zf_new_iterator; union _zend_function *zf_valid; union _zend_function *zf_current; union _zend_function *zf_key; union _zend_function *zf_next; union _zend_function *zf_rewind; } zend_class_iterator_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() /* * Local variables: * tab-width: 4 * c-basic-offset: 4 * indent-tabs-mode: t * End: */