$33 GRAYBYTE WORDPRESS FILE MANAGER $17

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/php56/usr/include/php/Zend/

HOME
Current File : /opt/alt/php56/usr/include/php/Zend//zend_generators.h
/*
   +----------------------------------------------------------------------+
   | Zend Engine                                                          |
   +----------------------------------------------------------------------+
   | Copyright (c) 1998-2016 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.              |
   +----------------------------------------------------------------------+
   | Authors: Nikita Popov <nikic@php.net>                                |
   +----------------------------------------------------------------------+
*/

/* $Id$ */

#ifndef ZEND_GENERATORS_H
#define ZEND_GENERATORS_H

BEGIN_EXTERN_C()

extern ZEND_API zend_class_entry *zend_ce_generator;

typedef struct _zend_generator_iterator {
	zend_object_iterator intern;

	/* The generator object handle has to be stored, because the
	 * iterator is holding a ref to it, which has to be dtored. */
	zend_object_handle handle;
} zend_generator_iterator;

typedef struct _zend_generator {
	zend_object std;

	zend_generator_iterator iterator;

	/* The suspended execution context. */
	zend_execute_data *execute_data;

	/* The separate stack used by generator */
	zend_vm_stack stack;

	/* Current value */
	zval *value;
	/* Current key */
	zval *key;
	/* Variable to put sent value into */
	zval **send_target;
	/* Largest used integer key for auto-incrementing keys */
	long largest_used_integer_key;

	/* ZEND_GENERATOR_* flags */
	zend_uchar flags;
} zend_generator;

static const zend_uchar ZEND_GENERATOR_CURRENTLY_RUNNING = 0x1;
static const zend_uchar ZEND_GENERATOR_FORCED_CLOSE      = 0x2;
static const zend_uchar ZEND_GENERATOR_AT_FIRST_YIELD    = 0x4;

void zend_register_generator_ce(TSRMLS_D);
ZEND_API zval *zend_generator_create_zval(zend_op_array *op_array TSRMLS_DC);
ZEND_API void zend_generator_close(zend_generator *generator, zend_bool finished_execution TSRMLS_DC);
ZEND_API void zend_generator_resume(zend_generator *generator TSRMLS_DC);

END_EXTERN_C()

#endif

/*
 * Local variables:
 * tab-width: 4
 * c-basic-offset: 4
 * indent-tabs-mode: t
 * End:
 */

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
9 Jul 2025 2.27 PM
root / 996
0755
zend.h
26.287 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_API.h
41.081 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_alloc.h
12.094 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_ast.h
2.333 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_build.h
1.589 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_builtin_functions.h
1.589 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_closures.h
1.815 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_compile.h
34.555 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_config.h
0.104 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_config.nw.h
2.443 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_config.w32.h
3.194 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_constants.h
6.087 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_dtrace.h
2 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_dynamic_array.h
1.861 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_errors.h
2.108 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_exceptions.h
2.974 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_execute.h
14.138 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_extensions.h
4.509 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_float.h
15.503 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_gc.h
7.233 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_generators.h
2.604 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_globals.h
7.304 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_globals_macros.h
3.15 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_hash.h
17.769 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_highlight.h
2.362 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_indent.h
1.436 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_ini.h
9.769 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_ini_parser.h
3.221 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_ini_scanner.h
1.956 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_ini_scanner_defs.h
0.22 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_interfaces.h
3.949 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_istdiostream.h
1.607 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_iterators.h
3.683 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_language_parser.h
8.872 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_language_scanner.h
2.633 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_language_scanner_defs.h
0.29 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_list.h
5.096 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_llist.h
3.884 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_modules.h
4.975 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_multibyte.h
4.985 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_multiply.h
3.658 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_object_handlers.h
9.485 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_objects.h
2.163 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_objects_API.h
4.284 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_operators.h
31.718 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_ptr_stack.h
4.213 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_qsort.h
1.616 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_signal.h
3.988 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_stack.h
2.325 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_static_allocator.h
1.813 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_stream.h
2.881 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_string.h
3.006 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_strtod.h
1.823 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_ts_hash.h
6.778 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_types.h
2.303 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_variables.h
3.76 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_virtual_cwd.h
11.846 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_vm.h
1.389 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_vm_def.h
162.944 KB
9 Jul 2025 2.28 PM
root / 996
0644
zend_vm_execute.h
1.32 MB
9 Jul 2025 2.28 PM
root / 996
0644
zend_vm_opcodes.h
8.601 KB
9 Jul 2025 2.28 PM
root / 996
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF