Skip to content
Newer
Older
100644 335 lines (238 sloc) 7.45 KB
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
1 /*
2 +----------------------------------------------------------------------+
3 | Zend Engine |
4 +----------------------------------------------------------------------+
d2281d1 @sebastianbergmann sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.php
sebastianbergmann authored Jan 5, 2010
5 | Copyright (c) 1998-2010 Zend Technologies Ltd. (http://www.zend.com) |
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
6 +----------------------------------------------------------------------+
d863d52 @sebastianbergmann Update headers.
sebastianbergmann authored Dec 11, 2001
7 | This source file is subject to version 2.00 of the Zend license, |
b5b1117 @zsuraski License update
zsuraski authored Jul 16, 1999
8 | that is bundled with this package in the file LICENSE, and is |
f68c7ff updating license information in the headers.
James Cox authored Jun 10, 2003
9 | available through the world-wide-web at the following url: |
d863d52 @sebastianbergmann Update headers.
sebastianbergmann authored Dec 11, 2001
10 | http://www.zend.com/license/2_00.txt. |
b5b1117 @zsuraski License update
zsuraski authored Jul 16, 1999
11 | If you did not receive a copy of the Zend license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
13 | license@zend.com so we can mail you a copy immediately. |
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
14 +----------------------------------------------------------------------+
15 | Authors: Andi Gutmans <andi@zend.com> |
16 | Zeev Suraski <zeev@zend.com> |
17 +----------------------------------------------------------------------+
18 */
19
333406b - Added some missing CVS $Id$ tags, headers and footers.
foobar authored Feb 1, 2003
20 /* $Id$ */
b5b1117 @zsuraski License update
zsuraski authored Jul 16, 1999
21
a617217 Replace macros which begin with an underscore through an appropiately
Sascha Schumann authored Jul 3, 2000
22 #ifndef ZEND_GLOBALS_H
23 #define ZEND_GLOBALS_H
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
24
99947a2 @andigutmans - Shift around header files.
andigutmans authored Sep 5, 1999
25
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
26 #include <setjmp.h>
27
99947a2 @andigutmans - Shift around header files.
andigutmans authored Sep 5, 1999
28 #include "zend_globals_macros.h"
29
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
30 #include "zend_stack.h"
31 #include "zend_ptr_stack.h"
32 #include "zend_hash.h"
33 #include "zend_llist.h"
6608f07 @smalyshev Mega-commit: Enter the new object model
smalyshev authored Feb 7, 2002
34 #include "zend_objects.h"
f75f3cf @smalyshev Generalize object storage and reference bookkeeping
smalyshev authored May 31, 2002
35 #include "zend_objects_API.h"
5230321 - Fix Reflection class names
Marcus Boerger authored Mar 30, 2004
36 #include "zend_modules.h"
5438a9d Eliminated useless allocation of FPU control word on each request sta…
Dmitry Stogov authored Jul 9, 2010
37 #include "zend_float.h"
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
38
c3286f3 implemented again zend-multibyte for PHP 5.3
Rui Hirokawa authored Jun 29, 2008
39 #ifdef ZEND_MULTIBYTE
40 #include "zend_multibyte.h"
41 #endif /* ZEND_MULTIBYTE */
42
7a87fcb @zsuraski Thread safety patch. We're still not quite there but it compiles agai…
zsuraski authored Apr 21, 1999
43 /* Define ZTS if you want a thread-safe Zend */
52fcaa4 @zsuraski Thread-safe project
zsuraski authored Apr 21, 1999
44 /*#undef ZTS*/
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
45
46 #ifdef ZTS
1aa2c5c @zsuraski Ok, call me crazy, because I probably am.
zsuraski authored Apr 23, 1999
47
48 BEGIN_EXTERN_C()
e06a1ed @zsuraski Thread safety fixes
zsuraski authored Apr 24, 1999
49 ZEND_API extern int compiler_globals_id;
50 ZEND_API extern int executor_globals_id;
1aa2c5c @zsuraski Ok, call me crazy, because I probably am.
zsuraski authored Apr 23, 1999
51 END_EXTERN_C()
52
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
53 #endif
54
55 #define SYMTABLE_CACHE_SIZE 32
56
57
58 #include "zend_compile.h"
59
b510a6d More portability stuff
Sascha Schumann authored Oct 5, 1999
60 /* excpt.h on Digital Unix 4.0 defines function_table */
61 #undef function_table
fafbf6d @zsuraski - Implement declare() with declarables framework
zsuraski authored Jan 24, 2000
62
8c885b8 Implemented concept of "delayed early binding" that allows opcode cac…
Dmitry Stogov authored Mar 18, 2008
63 #define ZEND_EARLY_BINDING_COMPILE_TIME 0
64 #define ZEND_EARLY_BINDING_DELAYED 1
65 #define ZEND_EARLY_BINDING_DELAYED_ALL 2
fafbf6d @zsuraski - Implement declare() with declarables framework
zsuraski authored Jan 24, 2000
66
67 typedef struct _zend_declarables {
68 zval ticks;
69 } zend_declarables;
70
0b68251 Changed EG(argument_stack) implementation.
Dmitry Stogov authored Jan 24, 2008
71 typedef struct _zend_vm_stack *zend_vm_stack;
8a6d73b improved performance of @ (silence) operator
Dmitry Stogov authored Aug 18, 2010
72 typedef struct _zend_ini_entry zend_ini_entry;
73
fafbf6d @zsuraski - Implement declare() with declarables framework
zsuraski authored Jan 24, 2000
74
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
75 struct _zend_compiler_globals {
76 zend_stack bp_stack;
77 zend_stack switch_cond_stack;
22f066e @andigutmans - Add foreach() freeing code.
andigutmans authored Sep 9, 1999
78 zend_stack foreach_copy_stack;
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
79 zend_stack object_stack;
fafbf6d @zsuraski - Implement declare() with declarables framework
zsuraski authored Jan 24, 2000
80 zend_stack declare_stack;
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
81
26578c3 @andigutmans - Initial support for nested class definitions
andigutmans authored Oct 29, 2001
82 zend_class_entry *active_class_entry;
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
83
84 /* variables for list() compilation */
85 zend_llist list_llist;
86 zend_llist dimension_llist;
43ebb86 @zsuraski Fix bug #10287 - avoid crashing under a bogus usage of list()
zsuraski authored Jul 16, 2001
87 zend_stack list_stack;
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
88
89 zend_stack function_call_stack;
90
91 char *compiled_filename;
92
93 int zend_lineno;
6f20cea Fixes to heredoc and cleanup of new re2c scanner. (Patch by Matt Wilmas)
Scott MacVicar authored Apr 9, 2008
94
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
95 char *heredoc;
96 int heredoc_len;
97
98 zend_op_array *active_op_array;
99
100 HashTable *function_table; /* function symbol table */
101 HashTable *class_table; /* class table */
102
c34f41b @zsuraski Eliminate run-time leak with eval()'s
zsuraski authored Aug 19, 2000
103 HashTable filenames_table;
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
104
9d11db1 @andigutmans - Merge new $_GET, $_POST etc. patch from Engine 1 tree
andigutmans authored Aug 8, 2001
105 HashTable *auto_globals;
106
b6197bc @zsuraski Maintain a state of whether we're compiling and/or executing
zsuraski authored Feb 4, 2000
107 zend_bool in_compilation;
9ece796 @zsuraski define zend_bool
zsuraski authored Jul 2, 1999
108 zend_bool short_tags;
109 zend_bool asp_tags;
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
110
fafbf6d @zsuraski - Implement declare() with declarables framework
zsuraski authored Jan 24, 2000
111 zend_declarables declarables;
112
9ece796 @zsuraski define zend_bool
zsuraski authored Jul 2, 1999
113 zend_bool unclean_shutdown;
87ba08d @zsuraski Avoid leaking fd's in case of failures
zsuraski authored May 22, 1999
114
9596255 @zsuraski Final touches on the INI parser
zsuraski authored Oct 30, 2000
115 zend_bool ini_parser_unbuffered_errors;
116
87ba08d @zsuraski Avoid leaking fd's in case of failures
zsuraski authored May 22, 1999
117 zend_llist open_files;
85b4df5 @zsuraski Improved interactive mode - it is now available in all builds, withou…
zsuraski authored Jul 15, 2001
118
f1e8815 @andigutmans - Change exception handling to use the Java-like catch(MyException $e…
andigutmans authored Jan 13, 2002
119 long catch_begin;
29f5dbe @andigutmans - Initial support for exceptions.
andigutmans authored Aug 30, 2001
120
609d58a @zsuraski Merge from branch - move to standard C scanners in thread safe mode
zsuraski authored Aug 6, 2001
121 struct _zend_ini_parser_param *ini_parser_param;
122
85b4df5 @zsuraski Improved interactive mode - it is now available in all builds, withou…
zsuraski authored Jul 15, 2001
123 int interactive;
7ade3b3 @zsuraski Fix an off by one lineno issue, in case of an implicit ;
zsuraski authored Aug 6, 2001
124
cf05f34 @zsuraski MFZE1 - lineno fix
zsuraski authored Jan 5, 2003
125 zend_uint start_lineno;
7ade3b3 @zsuraski Fix an off by one lineno issue, in case of an implicit ;
zsuraski authored Aug 6, 2001
126 zend_bool increment_lineno;
b90d80b @andigutmans - Initial patch to support importing from class scopes (for Stig).
andigutmans authored Mar 2, 2002
127
26dd849 @zsuraski Add support for interfaces
zsuraski authored Mar 5, 2003
128 znode implementing_class;
e062dff @zsuraski - Implement public/protected/private methods.
zsuraski authored Dec 6, 2002
129
471947b @zsuraski Reimplement PPP properties
zsuraski authored Feb 4, 2003
130 zend_uint access_type;
bdd3b60 Implement a different way to catch documentation comments.
Andrei Zmievski authored Apr 2, 2003
131
132 char *doc_comment;
133 zend_uint doc_comment_len;
ab9dcec @fujimoto - added script encoding support to Zend Engine 2.
fujimoto authored Aug 11, 2003
134
8c885b8 Implemented concept of "delayed early binding" that allows opcode cac…
Dmitry Stogov authored Mar 18, 2008
135 zend_uint compiler_options; /* set of ZEND_COMPILE_* constants */
136
f32ffe9 Namespaces
Dmitry Stogov authored Sep 28, 2007
137 zval *current_namespace;
138 HashTable *current_import;
ea45b71 Added support for namespaces with brackets. (Greg)
Dmitry Stogov authored Nov 25, 2008
139 zend_bool in_namespace;
140 zend_bool has_bracketed_namespaces;
f32ffe9 Namespaces
Dmitry Stogov authored Sep 28, 2007
141
f66f55e @felipensp MFH: Implemented "jump label" operator (limited "goto")
felipensp authored Mar 28, 2008
142 HashTable *labels;
143 zend_stack labels_stack;
144
dd5c478 Added concept of interned strings. All strings constants known at com…
Dmitry Stogov authored Apr 20, 2010
145 /* interned strings */
146 char *interned_strings_start;
147 char *interned_strings_end;
148 char *interned_strings_top;
149 char *interned_strings_snapshot_top;
150
151 HashTable interned_strings;
152
c3286f3 implemented again zend-multibyte for PHP 5.3
Rui Hirokawa authored Jun 29, 2008
153 #ifdef ZEND_MULTIBYTE
154 zend_encoding **script_encoding_list;
4f42ed3 - Revived zend multibyte
Moriyoshi Koizumi authored Jul 24, 2008
155 size_t script_encoding_list_size;
c3286f3 implemented again zend-multibyte for PHP 5.3
Rui Hirokawa authored Jun 29, 2008
156 zend_bool detect_unicode;
4f42ed3 - Revived zend multibyte
Moriyoshi Koizumi authored Jul 24, 2008
157 zend_bool encoding_declared;
c3286f3 implemented again zend-multibyte for PHP 5.3
Rui Hirokawa authored Jun 29, 2008
158
159 zend_encoding *internal_encoding;
160
161 /* multibyte utility functions */
162 zend_encoding_detector encoding_detector;
163 zend_encoding_converter encoding_converter;
164 zend_encoding_oddlen encoding_oddlen;
165 #endif /* ZEND_MULTIBYTE */
166
8768ab9 Fixed bug #34729 (Crash in ZTS mode under Apache)
Dmitry Stogov authored Dec 1, 2005
167 #ifdef ZTS
f23e857 Fixed ZTS build
Dmitry Stogov authored May 24, 2010
168 zval ***static_members_table;
8768ab9 Fixed bug #34729 (Crash in ZTS mode under Apache)
Dmitry Stogov authored Dec 1, 2005
169 int last_static_member;
170 #endif
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
171 };
172
173
174 struct _zend_executor_globals {
ced9cee @zsuraski - Implement return by reference:
zsuraski authored Dec 15, 1999
175 zval **return_value_ptr_ptr;
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
176
177 zval uninitialized_zval;
178 zval *uninitialized_zval_ptr;
179
180 zval error_zval;
181 zval *error_zval_ptr;
182
183 zend_ptr_stack arg_types_stack;
223c674 @zsuraski - Made things work again (Thies, everybody - please check the latest …
zsuraski authored Dec 19, 1999
184
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
185 /* symbol table cache */
186 HashTable *symtable_cache[SYMTABLE_CACHE_SIZE];
187 HashTable **symtable_cache_limit;
188 HashTable **symtable_cache_ptr;
189
190 zend_op **opline_ptr;
191
192 HashTable *active_symbol_table;
193 HashTable symbol_table; /* main symbol table */
194
5951b16 @andigutmans - Quick way of supporting include_once().
andigutmans authored Mar 10, 2000
195 HashTable included_files; /* files already included */
5463dd5 @andigutmans - Add use support (behaves like require, but will not use the same fi…
andigutmans authored Nov 30, 1999
196
10afe5d @rlerdorf Make the sigsetjmp change more robust. On systems that don't have
rlerdorf authored Mar 18, 2008
197 JMP_BUF *bailout;
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
198
199 int error_reporting;
fde2e61 @zsuraski error_reporting fix
zsuraski authored Jun 30, 2000
200 int orig_error_reporting;
2ef6b68 Pass on the exit status
Sascha Schumann authored Nov 22, 2000
201 int exit_status;
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
202
203 zend_op_array *active_op_array;
204
205 HashTable *function_table; /* function symbol table */
206 HashTable *class_table; /* class table */
207 HashTable *zend_constants; /* constants table */
208
90bd453 @andigutmans - Remove use of C++ reserved words namespace/this
andigutmans authored Mar 1, 2002
209 zend_class_entry *scope;
166266d Added support for Late Static Binding. (Dmitry, Etienne Kneuss)
Dmitry Stogov authored Sep 29, 2007
210 zend_class_entry *called_scope; /* Scope of the calling class */
4248619 @andigutmans - Initial work on changing namespace scope. Only methods & variables
andigutmans authored Dec 6, 2001
211
90bd453 @andigutmans - Remove use of C++ reserved words namespace/this
andigutmans authored Mar 1, 2002
212 zval *This;
a4248dd @andigutmans - Significantly improve the performance of method calls and $this->me…
andigutmans authored Jan 5, 2002
213
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
214 long precision;
215
fafbf6d @zsuraski - Implement declare() with declarables framework
zsuraski authored Jan 24, 2000
216 int ticks_count;
217
b6197bc @zsuraski Maintain a state of whether we're compiling and/or executing
zsuraski authored Feb 4, 2000
218 zend_bool in_execution;
55cf45a New autoload protection schema was implemented (Using HashTable inste…
Dmitry Stogov authored Mar 24, 2004
219 HashTable *in_autoload;
b7a8297 - Boost up __autoload() calls by caching the lookup
Marcus Boerger authored Aug 23, 2004
220 zend_function *autoload_func;
aecd5b8 @zsuraski MFZE1
zsuraski authored Oct 23, 2001
221 zend_bool full_tables_cleanup;
b6197bc @zsuraski Maintain a state of whether we're compiling and/or executing
zsuraski authored Feb 4, 2000
222
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
223 /* for extended information support */
741ca16 @andigutmans - Fixed various inheritance problems & Andrey's leak
andigutmans authored Jul 28, 1999
224 zend_bool no_extensions;
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
225
84eb48f @zsuraski Ok, this time here's some real Win32 system programming :)
zsuraski authored Jun 16, 2000
226 #ifdef ZEND_WIN32
227 zend_bool timed_out;
f704a50 @pierrejoye - add EG(windows_version_info), set at init time once per instance
pierrejoye authored Jan 16, 2009
228 OSVERSIONINFOEX windows_version_info;
84eb48f @zsuraski Ok, this time here's some real Win32 system programming :)
zsuraski authored Jun 16, 2000
229 #endif
230
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
231 HashTable regular_list;
232 HashTable persistent_list;
233
0b68251 Changed EG(argument_stack) implementation.
Dmitry Stogov authored Jan 24, 2008
234 zend_vm_stack argument_stack;
1c0f136 @andigutmans - Hooray. This might actually work. (I hope)
andigutmans authored Oct 3, 1999
235
a72c1ab @zsuraski Added error mask to set_error_handler()
zsuraski authored Jan 10, 2004
236 int user_error_handler_error_reporting;
67f6974 @zsuraski Initial support for trapping errors (not complete and disabled; will …
zsuraski authored Apr 19, 2000
237 zval *user_error_handler;
04788f9 @- Added set_exception_handler() function for registering a global,
Stig Bakken authored Aug 16, 2002
238 zval *user_exception_handler;
a72c1ab @zsuraski Added error mask to set_error_handler()
zsuraski authored Jan 10, 2004
239 zend_stack user_error_handlers_error_reporting;
34c2b0a @zsuraski - Add restore_error_handler()
zsuraski authored Jun 17, 2000
240 zend_ptr_stack user_error_handlers;
04788f9 @- Added set_exception_handler() function for registering a global,
Stig Bakken authored Aug 16, 2002
241 zend_ptr_stack user_exception_handlers;
67f6974 @zsuraski Initial support for trapping errors (not complete and disabled; will …
zsuraski authored Apr 19, 2000
242
fd0d44f @felipensp User error handlers no longer catch supressed errors (patch by Etienn…
felipensp authored Mar 8, 2008
243 zend_error_handling_t error_handling;
244 zend_class_entry *exception_class;
245
ef0bd3d @zsuraski - Move timeout code to Zend
zsuraski authored Jun 16, 2000
246 /* timeout support */
247 int timeout_seconds;
248
0b7a9ce @zsuraski - Fix Win32 compilation (Use winsock2.h from now on)
zsuraski authored Jun 3, 2000
249 int lambda_count;
250
8831b9c @andigutmans - MFZE1.
andigutmans authored Sep 23, 2002
251 HashTable *ini_directives;
14cad8f Optimized shutdown sequence to iterate only over modified ini directives
Dmitry Stogov authored May 15, 2006
252 HashTable *modified_ini_directives;
8a6d73b improved performance of @ (silence) operator
Dmitry Stogov authored Aug 18, 2010
253 zend_ini_entry *error_reporting_ini_entry;
14cad8f Optimized shutdown sequence to iterate only over modified ini directives
Dmitry Stogov authored May 15, 2006
254
f75f3cf @smalyshev Generalize object storage and reference bookkeeping
smalyshev authored May 31, 2002
255 zend_objects_store objects_store;
32f9d0e - MFH Improve exception linking
Marcus Boerger authored Aug 14, 2008
256 zval *exception, *prev_exception;
9e60cb5 @zsuraski Rewrote exception support. Fixes a few limitations and bugs in the old
zsuraski authored Feb 3, 2004
257 zend_op *opline_before_exception;
fa47e90 Changed exception handling. Now each op_array doesn't contain ZEND_HA…
Dmitry Stogov authored Jan 21, 2008
258 zend_op exception_op[3];
54d5305 @zsuraski Make the INI mechanism thread safe (or at least thread safer :)
zsuraski authored Dec 27, 2000
259
7e5ec2d @andigutmans Initial support for built-in backtracing.
andigutmans authored May 2, 2002
260 struct _zend_execute_data *current_execute_data;
261
5230321 - Fix Reflection class names
Marcus Boerger authored Mar 30, 2004
262 struct _zend_module_entry *current_module;
9e60cb5 @zsuraski Rewrote exception support. Fixes a few limitations and bugs in the old
zsuraski authored Feb 3, 2004
263
fce275e @zsuraski Improve PPP handling of properties
zsuraski authored Feb 7, 2003
264 zend_property_info std_property_info;
265
d6ee9d4 @tony2001 MFH: fix #38779 (engine crashes when require()'ing file with syntax e…
tony2001 authored Sep 11, 2006
266 zend_bool active;
267
5438a9d Eliminated useless allocation of FPU control word on each request sta…
Dmitry Stogov authored Jul 9, 2010
268 void *saved_fpu_cw_ptr;
269 #if XPFPA_HAVE_CW
270 XPFPA_CW_DATATYPE saved_fpu_cw;
271 #endif
31c0af2 Fixed floating point mathematic speed degradation (Christian)
Dmitry Stogov authored Mar 18, 2009
272
b5f5e9a @andigutmans - Optimize the execute stack a bit.
andigutmans authored Aug 15, 1999
273 void *reserved[ZEND_MAX_RESERVED_RESOURCES];
573b460 @andigutmans Zend Library
andigutmans authored Apr 7, 1999
274 };
275
af31602 - Rewrite scanner to be based on re2c instead of flex
Marcus Boerger authored Mar 16, 2008
276 struct _zend_ini_scanner_globals {
e52aac9 @wez Implement simple stream support in the ZE scanners.
wez authored Feb 18, 2003
277 zend_file_handle *yy_in;
278 zend_file_handle *yy_out;
af31602 - Rewrite scanner to be based on re2c instead of flex
Marcus Boerger authored Mar 16, 2008
279
4f42ed3 - Revived zend multibyte
Moriyoshi Koizumi authored Jul 24, 2008
280 unsigned int yy_leng;
281 unsigned char *yy_start;
282 unsigned char *yy_text;
283 unsigned char *yy_cursor;
284 unsigned char *yy_marker;
285 unsigned char *yy_limit;
286 int yy_state;
287 zend_stack state_stack;
af31602 - Rewrite scanner to be based on re2c instead of flex
Marcus Boerger authored Mar 16, 2008
288
289 char *filename;
fac8eaf MFZE1
Ilia Alshanetsky authored Oct 14, 2002
290 int lineno;
af31602 - Rewrite scanner to be based on re2c instead of flex
Marcus Boerger authored Mar 16, 2008
291
292 /* Modes are: ZEND_INI_SCANNER_NORMAL, ZEND_INI_SCANNER_RAW */
09b6f37 MFH:
Jani Taskinen authored Sep 28, 2007
293 int scanner_mode;
af31602 - Rewrite scanner to be based on re2c instead of flex
Marcus Boerger authored Mar 16, 2008
294 };
295
296 struct _zend_php_scanner_globals {
297 zend_file_handle *yy_in;
298 zend_file_handle *yy_out;
09b6f37 MFH:
Jani Taskinen authored Sep 28, 2007
299
af31602 - Rewrite scanner to be based on re2c instead of flex
Marcus Boerger authored Mar 16, 2008
300 unsigned int yy_leng;
301 unsigned char *yy_start;
302 unsigned char *yy_text;
303 unsigned char *yy_cursor;
304 unsigned char *yy_marker;
305 unsigned char *yy_limit;
306 int yy_state;
307 zend_stack state_stack;
308
c3286f3 implemented again zend-multibyte for PHP 5.3
Rui Hirokawa authored Jun 29, 2008
309 #ifdef ZEND_MULTIBYTE
310 /* original (unfiltered) script */
4f42ed3 - Revived zend multibyte
Moriyoshi Koizumi authored Jul 24, 2008
311 unsigned char *script_org;
312 size_t script_org_size;
c3286f3 implemented again zend-multibyte for PHP 5.3
Rui Hirokawa authored Jun 29, 2008
313
314 /* filtered script */
4f42ed3 - Revived zend multibyte
Moriyoshi Koizumi authored Jul 24, 2008
315 unsigned char *script_filtered;
316 size_t script_filtered_size;
c3286f3 implemented again zend-multibyte for PHP 5.3
Rui Hirokawa authored Jun 29, 2008
317
318 /* input/ouput filters */
319 zend_encoding_filter input_filter;
320 zend_encoding_filter output_filter;
321 zend_encoding *script_encoding;
322 zend_encoding *internal_encoding;
323 #endif /* ZEND_MULTIBYTE */
609d58a @zsuraski Merge from branch - move to standard C scanners in thread safe mode
zsuraski authored Aug 6, 2001
324 };
325
a617217 Replace macros which begin with an underscore through an appropiately
Sascha Schumann authored Jul 3, 2000
326 #endif /* ZEND_GLOBALS_H */
333406b - Added some missing CVS $Id$ tags, headers and footers.
foobar authored Feb 1, 2003
327
328 /*
329 * Local variables:
330 * tab-width: 4
331 * c-basic-offset: 4
332 * indent-tabs-mode: t
333 * End:
334 */
Something went wrong with that request. Please try again.