Skip to content
Newer
Older
100644 164 lines (120 sloc) 3.8 KB
c5724cb @zsuraski License update
zsuraski authored Jul 16, 1999
1 /*
2 +----------------------------------------------------------------------+
ccfc46b - Happy new year and PHP 5 for rest of the files too..
foobar authored Jan 8, 2004
3 | PHP Version 5 |
c5724cb @zsuraski License update
zsuraski authored Jul 16, 1999
4 +----------------------------------------------------------------------+
ccfc46b - Happy new year and PHP 5 for rest of the files too..
foobar authored Jan 8, 2004
5 | Copyright (c) 1997-2004 The PHP Group |
c5724cb @zsuraski License update
zsuraski authored Jul 16, 1999
6 +----------------------------------------------------------------------+
f68c7ff updating license information in the headers.
James Cox authored Jun 10, 2003
7 | This source file is subject to version 3.0 of the PHP license, |
c5724cb @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: |
10 | http://www.php.net/license/3_0.txt. |
c5724cb @zsuraski License update
zsuraski authored Jul 16, 1999
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 +----------------------------------------------------------------------+
90613d2 @sebastianbergmann Maintain headers.
sebastianbergmann authored Feb 28, 2002
15 | Author: Zeev Suraski <zeev@zend.com> |
c5724cb @zsuraski License update
zsuraski authored Jul 16, 1999
16 +----------------------------------------------------------------------+
17 */
18
8e3f23e ws fixes + missing $Id$ tags, headers added
foobar authored Feb 19, 2003
19 /* $Id$ */
c5724cb @zsuraski License update
zsuraski authored Jul 16, 1999
20
16017f6 Change header protection macros to conform to standard.
Sascha Schumann authored Jul 2, 2000
21 #ifndef PHP_GLOBALS_H
22 #define PHP_GLOBALS_H
011813c @zsuraski *** empty log message ***
zsuraski authored Apr 9, 1999
23
c5af324 @zsuraski More thread safety work
zsuraski authored Apr 21, 1999
24 #include "zend_globals.h"
25
011813c @zsuraski *** empty log message ***
zsuraski authored Apr 9, 1999
26 typedef struct _php_core_globals php_core_globals;
27
28 #ifdef ZTS
d87cc97 @zsuraski Redesigned thread safety mechanism - nua nua
zsuraski authored Jul 28, 2001
29 # define PG(v) TSRMG(core_globals_id, php_core_globals *, v)
3cad348 @zsuraski * Add a new workspace for dynamic PHP extensions.
zsuraski authored Jun 4, 1999
30 extern PHPAPI int core_globals_id;
011813c @zsuraski *** empty log message ***
zsuraski authored Apr 9, 1999
31 #else
32 # define PG(v) (core_globals.v)
5a2189f work around gcc bug, otherwise compiler would die with
Sascha Schumann authored Sep 5, 1999
33 extern ZEND_API struct _php_core_globals core_globals;
011813c @zsuraski *** empty log message ***
zsuraski authored Apr 9, 1999
34 #endif
35
eb32144 @zsuraski - Remove track_vars - it is now always on
zsuraski authored Sep 5, 2000
36
bfa301d @zsuraski Fix ordering
zsuraski authored Sep 6, 2000
37 #define TRACK_VARS_POST 0
38 #define TRACK_VARS_GET 1
39 #define TRACK_VARS_COOKIE 2
40 #define TRACK_VARS_SERVER 3
41 #define TRACK_VARS_ENV 4
42 #define TRACK_VARS_FILES 5
4e55747 @zsuraski Add JIT initialization for _SERVER and _ENV
zsuraski authored Mar 2, 2003
43 #define TRACK_VARS_REQUEST 6
0e90b9d @zsuraski @- The various $HTTP_*_VARS[] are now protected, and cannot be manipu…
zsuraski authored Feb 26, 2000
44
d23e5d8 @- Implemented default_charset and default_mimetype config directives…
Stig Bakken authored Feb 25, 2000
45 struct _php_tick_function_entry;
011813c @zsuraski *** empty log message ***
zsuraski authored Apr 9, 1999
46
c34d2b9 Added new configuration directives:
foobar authored Apr 4, 2001
47 typedef struct _arg_separators {
48 char *output;
49 char *input;
50 } arg_separators;
51
011813c @zsuraski *** empty log message ***
zsuraski authored Apr 9, 1999
52 struct _php_core_globals {
54ec3a8 @rlerdorf Cleanups
rlerdorf authored Sep 4, 1999
53 zend_bool magic_quotes_gpc;
54 zend_bool magic_quotes_runtime;
55 zend_bool magic_quotes_sybase;
7685b44 @zsuraski Move asp_tags and short_open_tag to the new php_ini mechanism
zsuraski authored Apr 10, 1999
56
e077c6b @zsuraski Make it possible to enable chunked output buffering without providing
zsuraski authored Aug 11, 2001
57 zend_bool safe_mode;
58
d800068 @zsuraski - Implement ability to turn off support for call-time pass by reference
zsuraski authored Dec 15, 1999
59 zend_bool allow_call_time_pass_reference;
24156db @zsuraski @- Added implicit_flush INI directive (Zeev)
zsuraski authored Jan 13, 2000
60 zend_bool implicit_flush;
79f9f0c @zsuraski Move safe_mode to the new php_ini mechanism
zsuraski authored Apr 10, 1999
61
1edf7f5 64 bit corrections to parameters to OnUpdateInt Bug #20994 (Dave)
David Hill authored Mar 10, 2003
62 long output_buffering;
e077c6b @zsuraski Make it possible to enable chunked output buffering without providing
zsuraski authored Aug 11, 2001
63
771e3e4 o Fixed Bug #12121: chdir and safe_mode
James E. Flemer authored Jul 13, 2001
64 char *safe_mode_include_dir;
934e10c @rlerdorf Add getmygid() and safe_mode_gid ini directive to allow safe mode to do
rlerdorf authored Jul 9, 2001
65 zend_bool safe_mode_gid;
54ec3a8 @rlerdorf Cleanups
rlerdorf authored Sep 4, 1999
66 zend_bool sql_safe_mode;
67 zend_bool enable_dl;
0f7f5c2 @zsuraski - Import Jade Nicoletti's transparent gzip encoding support as an output
zsuraski authored Nov 13, 2000
68
69 char *output_handler;
70
06cdf29 - Adding a callback mechanism to the unserializer. (patch by Bernd
Derick Rethans authored Nov 26, 2001
71 char *unserialize_callback_func;
b20df54 Make serialize precision a configurable option.
Ilia Alshanetsky authored May 8, 2003
72 long serialize_precision;
06cdf29 - Adding a callback mechanism to the unserializer. (patch by Bernd
Derick Rethans authored Nov 26, 2001
73
8fb954a @zsuraski Fix startup sequence. It should do it this time.
zsuraski authored May 29, 2000
74 char *safe_mode_exec_dir;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored Apr 10, 1999
75
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored Jun 15, 1999
76 long memory_limit;
b9efd22 Fixed bug #16880. Added an ini option max_input_time that allows the …
Ilia Alshanetsky authored Oct 21, 2002
77 long max_input_time;
e3d2234 @zsuraski A lot of php3_ini -> php_ini work
zsuraski authored Apr 10, 1999
78
54ec3a8 @rlerdorf Cleanups
rlerdorf authored Sep 4, 1999
79 zend_bool track_errors;
80 zend_bool display_errors;
b7ecaac @zsuraski More security-related (control) patches:
zsuraski authored Sep 9, 2000
81 zend_bool display_startup_errors;
54ec3a8 @rlerdorf Cleanups
rlerdorf authored Sep 4, 1999
82 zend_bool log_errors;
0d7957b Bug #20433
Marcus Boerger authored Nov 30, 2002
83 long log_errors_max_len;
ddc6437 new feature ignoring repeated error messages (defaults to old behaviour)
Marcus Boerger authored Apr 6, 2002
84 zend_bool ignore_repeated_errors;
85 zend_bool ignore_repeated_source;
d812929 - Implement Andrei's request for disabling memory leak reporting in d…
Derick Rethans authored Jun 26, 2002
86 zend_bool report_memleaks;
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored Jun 15, 1999
87 char *error_log;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored Apr 10, 1999
88
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored Jun 15, 1999
89 char *doc_root;
90 char *user_dir;
91 char *include_path;
92 char *open_basedir;
93 char *extension_dir;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored Apr 10, 1999
94
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored Jun 15, 1999
95 char *upload_tmp_dir;
96 long upload_max_filesize;
35b30a8 Add reentrant versions of ctime, localtime, gmtime, asctime.
Sascha Schumann authored Nov 26, 1999
97
6727342 @rlerdorf Make error_prepend_string and error_append_string work
rlerdorf authored Apr 14, 2000
98 char *error_append_string;
99 char *error_prepend_string;
100
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored Jun 15, 1999
101 char *auto_prepend_file;
102 char *auto_append_file;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored Apr 10, 1999
103
c34d2b9 Added new configuration directives:
foobar authored Apr 4, 2001
104 arg_separators arg_separator;
105
9ab35ae @zsuraski Tried to centralize global variable registration as much as possible:
zsuraski authored Jan 28, 2000
106 char *variables_order;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored Apr 10, 1999
107
ed453cc @zsuraski Fix the file upload security problem with no side effects (untested)
zsuraski authored Sep 4, 2000
108 HashTable rfc1867_protected_variables;
109
0bede91 @rlerdorf First part of the connection_status work. No user-callable functions
rlerdorf authored Sep 4, 1999
110 short connection_status;
111 short ignore_user_abort;
112
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored Jun 15, 1999
113 unsigned char header_is_being_sent;
d23e5d8 @- Implemented default_charset and default_mimetype config directives…
Stig Bakken authored Feb 25, 2000
114
115 zend_llist tick_functions;
0e90b9d @zsuraski @- The various $HTTP_*_VARS[] are now protected, and cannot be manipu…
zsuraski authored Feb 26, 2000
116
eb32144 @zsuraski - Remove track_vars - it is now always on
zsuraski authored Sep 5, 2000
117 zval *http_globals[6];
8fb954a @zsuraski Fix startup sequence. It should do it this time.
zsuraski authored May 29, 2000
118
119 zend_bool expose_php;
120
121 zend_bool register_globals;
4e55747 @zsuraski Add JIT initialization for _SERVER and _ENV
zsuraski authored Mar 2, 2003
122 zend_bool register_long_arrays;
8fb954a @zsuraski Fix startup sequence. It should do it this time.
zsuraski authored May 29, 2000
123 zend_bool register_argc_argv;
02344b1 @zsuraski Improve the way auto-globals JIT works, and add the ability to turn i…
zsuraski authored Mar 16, 2004
124 zend_bool auto_globals_jit;
8fb954a @zsuraski Fix startup sequence. It should do it this time.
zsuraski authored May 29, 2000
125
126 zend_bool y2k_compliance;
127
88c385e rename php_error_func<n> to php_error_docref and support Wez idea
Marcus Boerger authored Aug 8, 2002
128 char *docref_root;
129 char *docref_ext;
130
23ca7b9 Added "html_errors" directive to optionally disable HTML formatting o…
Stig Bakken authored Jul 4, 2000
131 zend_bool html_errors;
a2ce3c7 Allow errors to be returned as XMLRPC fault packets.
Sascha Schumann authored Jul 10, 2001
132 zend_bool xmlrpc_errors;
133
3dd33fd Fix xmlrpc_error:number handling
Sascha Schumann authored Jul 13, 2001
134 long xmlrpc_error_number;
a2ce3c7 Allow errors to be returned as XMLRPC fault packets.
Sascha Schumann authored Jul 10, 2001
135
4e55747 @zsuraski Add JIT initialization for _SERVER and _ENV
zsuraski authored Mar 2, 2003
136 zend_bool activated_auto_globals[8];
23ca7b9 Added "html_errors" directive to optionally disable HTML formatting o…
Stig Bakken authored Jul 4, 2000
137
b7ecaac @zsuraski More security-related (control) patches:
zsuraski authored Sep 9, 2000
138 zend_bool modules_activated;
139 zend_bool file_uploads;
140 zend_bool during_request_startup;
cae2717 fopen wrappers cleanup
Hartmut Holzgraefe authored Oct 13, 2000
141 zend_bool allow_url_fopen;
9bc97ac @rlerdorf Add always_populate_raw_post_data ini directive and default it to 0 to
rlerdorf authored Jul 17, 2001
142 zend_bool always_populate_raw_post_data;
b7cd48e Make it possible to test language features like newly introduced 'abs…
Marcus Boerger authored Nov 21, 2002
143 zend_bool report_zend_debug;
3fc4a32 Infrastructure to catch warnings and throw tehm as errors autmatically
Marcus Boerger authored May 7, 2003
144
145 char *last_error_message;
146 char *last_error_file;
147 int last_error_lineno;
148 error_handling_t error_handling;
149 zend_class_entry *exception_class;
be5670a Fixed bug #26707 (Incorrect error for disabled functions/classes).
Ilia Alshanetsky authored Dec 24, 2003
150
151 char *disable_functions;
152 char *disable_classes;
011813c @zsuraski *** empty log message ***
zsuraski authored Apr 9, 1999
153 };
154
155
16017f6 Change header protection macros to conform to standard.
Sascha Schumann authored Jul 2, 2000
156 #endif /* PHP_GLOBALS_H */
336392e * now using php4.ini instead of php3.ini
Stig Bakken authored Jun 15, 1999
157
158 /*
159 * Local variables:
160 * tab-width: 4
161 * c-basic-offset: 4
162 * End:
163 */
Something went wrong with that request. Please try again.