Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 189 lines (140 sloc) 4.357 kb
c5724cbd » zsuraski
1999-07-16 License update
1 /*
2 +----------------------------------------------------------------------+
ccfc46b0 » foobar
2004-01-08 - Happy new year and PHP 5 for rest of the files too..
3 | PHP Version 5 |
c5724cbd » zsuraski
1999-07-16 License update
4 +----------------------------------------------------------------------+
e4ca0ed0 » felipensp
2012-01-01 - Year++
5 | Copyright (c) 1997-2012 The PHP Group |
c5724cbd » zsuraski
1999-07-16 License update
6 +----------------------------------------------------------------------+
5bd93221 » foobar
2006-01-01 bump year and license version
7 | This source file is subject to version 3.01 of the PHP license, |
c5724cbd » zsuraski
1999-07-16 License update
8 | that is bundled with this package in the file LICENSE, and is |
f68c7ff2 » James Cox
2003-06-10 updating license information in the headers.
9 | available through the world-wide-web at the following url: |
5bd93221 » foobar
2006-01-01 bump year and license version
10 | http://www.php.net/license/3_01.txt |
c5724cbd » zsuraski
1999-07-16 License update
11 | If you did not receive a copy of the PHP license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
13 | license@php.net so we can mail you a copy immediately. |
14 +----------------------------------------------------------------------+
90613d22 » Sebastian Bergmann
2002-02-28 Maintain headers.
15 | Author: Zeev Suraski <zeev@zend.com> |
c5724cbd » zsuraski
1999-07-16 License update
16 +----------------------------------------------------------------------+
17 */
18
8e3f23e3 » foobar
2003-02-19 ws fixes + missing $Id$ tags, headers added
19 /* $Id$ */
c5724cbd » zsuraski
1999-07-16 License update
20
16017f6d » Sascha Schumann
2000-07-02 Change header protection macros to conform to standard.
21 #ifndef PHP_GLOBALS_H
22 #define PHP_GLOBALS_H
011813cc » zsuraski
1999-04-09 *** empty log message ***
23
c5af324e » zsuraski
1999-04-21 More thread safety work
24 #include "zend_globals.h"
25
011813cc » zsuraski
1999-04-09 *** empty log message ***
26 typedef struct _php_core_globals php_core_globals;
27
28 #ifdef ZTS
d87cc976 » zsuraski
2001-07-28 Redesigned thread safety mechanism - nua nua
29 # define PG(v) TSRMG(core_globals_id, php_core_globals *, v)
3cad3485 » zsuraski
1999-06-04 * Add a new workspace for dynamic PHP extensions.
30 extern PHPAPI int core_globals_id;
011813cc » zsuraski
1999-04-09 *** empty log message ***
31 #else
32 # define PG(v) (core_globals.v)
5a2189f3 » Sascha Schumann
1999-09-05 work around gcc bug, otherwise compiler would die with
33 extern ZEND_API struct _php_core_globals core_globals;
011813cc » zsuraski
1999-04-09 *** empty log message ***
34 #endif
35
335cac3c » Jani Taskinen
2007-07-24 MFH:- Changed "display_errors" php.ini option to accept "stderr" as v…
36 /* Error display modes */
37 #define PHP_DISPLAY_ERRORS_STDOUT 1
38 #define PHP_DISPLAY_ERRORS_STDERR 2
eb321449 » zsuraski
2000-09-05 - Remove track_vars - it is now always on
39
335cac3c » Jani Taskinen
2007-07-24 MFH:- Changed "display_errors" php.ini option to accept "stderr" as v…
40 /* Track vars */
bfa301df » zsuraski
2000-09-06 Fix ordering
41 #define TRACK_VARS_POST 0
42 #define TRACK_VARS_GET 1
43 #define TRACK_VARS_COOKIE 2
44 #define TRACK_VARS_SERVER 3
45 #define TRACK_VARS_ENV 4
46 #define TRACK_VARS_FILES 5
4e55747a » zsuraski
2003-03-02 Add JIT initialization for _SERVER and _ENV
47 #define TRACK_VARS_REQUEST 6
0e90b9dc » zsuraski
2000-02-26 @- The various $HTTP_*_VARS[] are now protected, and cannot be manipu…
48
d23e5d83 » Stig Bakken
2000-02-25 @- Implemented default_charset and default_mimetype config directives…
49 struct _php_tick_function_entry;
011813cc » zsuraski
1999-04-09 *** empty log message ***
50
c34d2b91 » foobar
2001-04-04 Added new configuration directives:
51 typedef struct _arg_separators {
52 char *output;
53 char *input;
54 } arg_separators;
55
011813cc » zsuraski
1999-04-09 *** empty log message ***
56 struct _php_core_globals {
54ec3a8e » rlerdorf
1999-09-04 Cleanups
57 zend_bool magic_quotes_gpc;
58 zend_bool magic_quotes_runtime;
59 zend_bool magic_quotes_sybase;
7685b44c » zsuraski
1999-04-10 Move asp_tags and short_open_tag to the new php_ini mechanism
60
e077c6bc » zsuraski
2001-08-11 Make it possible to enable chunked output buffering without providing
61 zend_bool safe_mode;
62
d8000684 » zsuraski
1999-12-15 - Implement ability to turn off support for call-time pass by reference
63 zend_bool allow_call_time_pass_reference;
24156db2 » zsuraski
2000-01-13 @- Added implicit_flush INI directive (Zeev)
64 zend_bool implicit_flush;
79f9f0ce » zsuraski
1999-04-10 Move safe_mode to the new php_ini mechanism
65
1edf7f55 » David Hill
2003-03-10 64 bit corrections to parameters to OnUpdateInt Bug #20994 (Dave)
66 long output_buffering;
e077c6bc » zsuraski
2001-08-11 Make it possible to enable chunked output buffering without providing
67
771e3e49 » James E. Flemer
2001-07-13 o Fixed Bug #12121: chdir and safe_mode
68 char *safe_mode_include_dir;
934e10c7 » rlerdorf
2001-07-09 Add getmygid() and safe_mode_gid ini directive to allow safe mode to do
69 zend_bool safe_mode_gid;
54ec3a8e » rlerdorf
1999-09-04 Cleanups
70 zend_bool sql_safe_mode;
71 zend_bool enable_dl;
0f7f5c2c » zsuraski
2000-11-13 - Import Jade Nicoletti's transparent gzip encoding support as an output
72
73 char *output_handler;
74
06cdf297 » Derick Rethans
2001-11-26 - Adding a callback mechanism to the unserializer. (patch by Bernd
75 char *unserialize_callback_func;
b20df54a » Ilia Alshanetsky
2003-05-08 Make serialize precision a configurable option.
76 long serialize_precision;
06cdf297 » Derick Rethans
2001-11-26 - Adding a callback mechanism to the unserializer. (patch by Bernd
77
8fb954ae » zsuraski
2000-05-29 Fix startup sequence. It should do it this time.
78 char *safe_mode_exec_dir;
bb6dff9c » zsuraski
1999-04-10 Buh-bye php3_ini
79
f86fb810 » zsuraski
1999-06-15 Change four spaces back to tabs (Why the hell did you change the tabs…
80 long memory_limit;
b9efd223 » Ilia Alshanetsky
2002-10-21 Fixed bug #16880. Added an ini option max_input_time that allows the …
81 long max_input_time;
e3d2234b » zsuraski
1999-04-10 A lot of php3_ini -> php_ini work
82
54ec3a8e » rlerdorf
1999-09-04 Cleanups
83 zend_bool track_errors;
84 zend_bool display_errors;
b7ecaacd » zsuraski
2000-09-09 More security-related (control) patches:
85 zend_bool display_startup_errors;
54ec3a8e » rlerdorf
1999-09-04 Cleanups
86 zend_bool log_errors;
0d7957bc » Marcus Boerger
2002-11-30 Bug #20433
87 long log_errors_max_len;
ddc6437e » Marcus Boerger
2002-04-06 new feature ignoring repeated error messages (defaults to old behaviour)
88 zend_bool ignore_repeated_errors;
89 zend_bool ignore_repeated_source;
d812929d » Derick Rethans
2002-06-26 - Implement Andrei's request for disabling memory leak reporting in d…
90 zend_bool report_memleaks;
f86fb810 » zsuraski
1999-06-15 Change four spaces back to tabs (Why the hell did you change the tabs…
91 char *error_log;
bb6dff9c » zsuraski
1999-04-10 Buh-bye php3_ini
92
f86fb810 » zsuraski
1999-06-15 Change four spaces back to tabs (Why the hell did you change the tabs…
93 char *doc_root;
94 char *user_dir;
95 char *include_path;
96 char *open_basedir;
97 char *extension_dir;
bb6dff9c » zsuraski
1999-04-10 Buh-bye php3_ini
98
f86fb810 » zsuraski
1999-06-15 Change four spaces back to tabs (Why the hell did you change the tabs…
99 char *upload_tmp_dir;
100 long upload_max_filesize;
35b30a8d » Sascha Schumann
1999-11-26 Add reentrant versions of ctime, localtime, gmtime, asctime.
101
6727342b » rlerdorf
2000-04-14 Make error_prepend_string and error_append_string work
102 char *error_append_string;
103 char *error_prepend_string;
104
f86fb810 » zsuraski
1999-06-15 Change four spaces back to tabs (Why the hell did you change the tabs…
105 char *auto_prepend_file;
106 char *auto_append_file;
bb6dff9c » zsuraski
1999-04-10 Buh-bye php3_ini
107
c34d2b91 » foobar
2001-04-04 Added new configuration directives:
108 arg_separators arg_separator;
109
9ab35ae3 » zsuraski
2000-01-28 Tried to centralize global variable registration as much as possible:
110 char *variables_order;
bb6dff9c » zsuraski
1999-04-10 Buh-bye php3_ini
111
ed453cc9 » zsuraski
2000-09-04 Fix the file upload security problem with no side effects (untested)
112 HashTable rfc1867_protected_variables;
113
0bede914 » rlerdorf
1999-09-04 First part of the connection_status work. No user-callable functions
114 short connection_status;
115 short ignore_user_abort;
116
f86fb810 » zsuraski
1999-06-15 Change four spaces back to tabs (Why the hell did you change the tabs…
117 unsigned char header_is_being_sent;
d23e5d83 » Stig Bakken
2000-02-25 @- Implemented default_charset and default_mimetype config directives…
118
119 zend_llist tick_functions;
0e90b9dc » zsuraski
2000-02-26 @- The various $HTTP_*_VARS[] are now protected, and cannot be manipu…
120
eb321449 » zsuraski
2000-09-05 - Remove track_vars - it is now always on
121 zval *http_globals[6];
8fb954ae » zsuraski
2000-05-29 Fix startup sequence. It should do it this time.
122
123 zend_bool expose_php;
124
125 zend_bool register_globals;
4e55747a » zsuraski
2003-03-02 Add JIT initialization for _SERVER and _ENV
126 zend_bool register_long_arrays;
8fb954ae » zsuraski
2000-05-29 Fix startup sequence. It should do it this time.
127 zend_bool register_argc_argv;
02344b1d » zsuraski
2004-03-16 Improve the way auto-globals JIT works, and add the ability to turn i…
128 zend_bool auto_globals_jit;
8fb954ae » zsuraski
2000-05-29 Fix startup sequence. It should do it this time.
129
130 zend_bool y2k_compliance;
131
88c385e8 » Marcus Boerger
2002-08-08 rename php_error_func<n> to php_error_docref and support Wez idea
132 char *docref_root;
133 char *docref_ext;
134
23ca7b9f » Stig Bakken
2000-07-04 Added "html_errors" directive to optionally disable HTML formatting o…
135 zend_bool html_errors;
a2ce3c70 » Sascha Schumann
2001-07-10 Allow errors to be returned as XMLRPC fault packets.
136 zend_bool xmlrpc_errors;
137
3dd33fde » Sascha Schumann
2001-07-13 Fix xmlrpc_error:number handling
138 long xmlrpc_error_number;
a2ce3c70 » Sascha Schumann
2001-07-10 Allow errors to be returned as XMLRPC fault packets.
139
4e55747a » zsuraski
2003-03-02 Add JIT initialization for _SERVER and _ENV
140 zend_bool activated_auto_globals[8];
23ca7b9f » Stig Bakken
2000-07-04 Added "html_errors" directive to optionally disable HTML formatting o…
141
b7ecaacd » zsuraski
2000-09-09 More security-related (control) patches:
142 zend_bool modules_activated;
143 zend_bool file_uploads;
144 zend_bool during_request_startup;
cae27179 » Hartmut Holzgraefe
2000-10-13 fopen wrappers cleanup
145 zend_bool allow_url_fopen;
9bc97ac8 » rlerdorf
2001-07-17 Add always_populate_raw_post_data ini directive and default it to 0 to
146 zend_bool always_populate_raw_post_data;
b7cd48ef » Marcus Boerger
2002-11-21 Make it possible to test language features like newly introduced 'abs…
147 zend_bool report_zend_debug;
3fc4a327 » Marcus Boerger
2003-05-07 Infrastructure to catch warnings and throw tehm as errors autmatically
148
46f21b8a » m6w6
2006-07-19 MFH: added error_get_last() function
149 int last_error_type;
3fc4a327 » Marcus Boerger
2003-05-07 Infrastructure to catch warnings and throw tehm as errors autmatically
150 char *last_error_message;
151 char *last_error_file;
152 int last_error_lineno;
be5670af » Ilia Alshanetsky
2003-12-24 Fixed bug #26707 (Incorrect error for disabled functions/classes).
153
154 char *disable_functions;
155 char *disable_classes;
6bfeea9e » rlerdorf
2006-06-16 MFH: Backported allow_url_include from HEAD. This directive allows
156 zend_bool allow_url_include;
6c158374 » rlerdorf
2008-03-18 exit_on_timeout patch
157 zend_bool exit_on_timeout;
c06f9e1e » Dmitry Stogov
2006-11-17 COM initialization/deinitialization are done only if necessary
158 #ifdef PHP_WIN32
159 zend_bool com_initialized;
160 #endif
32fb34e2 » smalyshev
2007-03-02 limit nesting level of input variables
161 long max_input_nesting_level;
539f67ed » Dmitry Stogov
2007-07-09 Added ability to create local or remote (URL) user streams
162 zend_bool in_user_include;
09b6f37f » Jani Taskinen
2007-09-28 MFH:
163
164 char *user_ini_filename;
165 long user_ini_cache_ttl;
a9fe1010 » smalyshev
2008-03-12 [DOC] add request_order INI variable to control $_REQUEST content
166
167 char *request_order;
905a5c05 » Ilia Alshanetsky
2009-01-09 [DOC]
168
169 zend_bool mail_x_header;
170 char *mail_log;
ffb07732 » Dmitry Stogov
2009-10-05 Fixed bug #49627 (error_log to specified file does not log time accor…
171
172 zend_bool in_error_log;
fb53dd80 » Pierre Joye
2011-11-24 - merge crt warning change (r216594) and rename the ini to windows.sh…
173
174 #ifdef PHP_WIN32
175 zend_bool windows_show_crt_warning;
176 #endif
0d1998e3 » Dmitry Stogov
2011-12-15 Added max_input_vars directive to prevent attacks based on hash colli…
177
178 long max_input_vars;
011813cc » zsuraski
1999-04-09 *** empty log message ***
179 };
180
181
16017f6d » Sascha Schumann
2000-07-02 Change header protection macros to conform to standard.
182 #endif /* PHP_GLOBALS_H */
336392ea » Stig Bakken
1999-06-15 * now using php4.ini instead of php3.ini
183
184 /*
185 * Local variables:
186 * tab-width: 4
187 * c-basic-offset: 4
188 * End:
189 */
Something went wrong with that request. Please try again.