Skip to content
Newer
Older
100644 114 lines (88 sloc) 2.88 KB
c5724cb @zsuraski License update
zsuraski authored Jul 16, 1999
1 /*
2 +----------------------------------------------------------------------+
3 | PHP version 4.0 |
4 +----------------------------------------------------------------------+
43ae2bf Happy Y2K patch! Happy new year (or the new millennium, depending on …
Sascha Schumann authored Jan 1, 2000
5 | Copyright (c) 1997, 1998, 1999, 2000 The PHP Group |
c5724cb @zsuraski License update
zsuraski authored Jul 16, 1999
6 +----------------------------------------------------------------------+
9b621d1 @zsuraski Get the license right... (this won't make it to RC1 of B4)
zsuraski authored Feb 19, 2000
7 | This source file is subject to version 2.01 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 |
9 | available at through the world-wide-web at |
9b621d1 @zsuraski Get the license right... (this won't make it to RC1 of B4)
zsuraski authored Feb 19, 2000
10 | http://www.php.net/license/2_01.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 +----------------------------------------------------------------------+
15 | Authors: Zeev Suraski <zeev@zend.com> |
16 +----------------------------------------------------------------------+
17 */
18
19
011813c @zsuraski *** empty log message ***
zsuraski authored Apr 9, 1999
20 #ifndef _PHP_GLOBALS_H
21 #define _PHP_GLOBALS_H
22
c5af324 @zsuraski More thread safety work
zsuraski authored Apr 21, 1999
23 #include "zend_globals.h"
24
011813c @zsuraski *** empty log message ***
zsuraski authored Apr 9, 1999
25 typedef struct _php_core_globals php_core_globals;
26
27 #ifdef ZTS
28 # define PLS_D php_core_globals *core_globals
29 # define PLS_DC , PLS_D
30 # define PLS_C core_globals
31 # define PLS_CC , PLS_C
32 # define PG(v) (core_globals->v)
33 # define PLS_FETCH() php_core_globals *core_globals = ts_resource(core_globals_id)
3cad348 @zsuraski * Add a new workspace for dynamic PHP extensions.
zsuraski authored Jun 4, 1999
34 extern PHPAPI int core_globals_id;
011813c @zsuraski *** empty log message ***
zsuraski authored Apr 9, 1999
35 #else
36 # define PLS_D
37 # define PLS_DC
38 # define PLS_C
39 # define PLS_CC
40 # define PG(v) (core_globals.v)
41 # define PLS_FETCH()
5a2189f work around gcc bug, otherwise compiler would die with
Sascha Schumann authored Sep 5, 1999
42 extern ZEND_API struct _php_core_globals core_globals;
011813c @zsuraski *** empty log message ***
zsuraski authored Apr 9, 1999
43 #endif
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
47 struct _php_core_globals {
54ec3a8 @rlerdorf Cleanups
rlerdorf authored Sep 4, 1999
48 zend_bool magic_quotes_gpc;
49 zend_bool magic_quotes_runtime;
50 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
51
54ec3a8 @rlerdorf Cleanups
rlerdorf authored Sep 4, 1999
52 zend_bool asp_tags;
53 zend_bool short_tags;
d800068 @zsuraski - Implement ability to turn off support for call-time pass by reference
zsuraski authored Dec 15, 1999
54 zend_bool allow_call_time_pass_reference;
55 zend_bool zend_set_utility_values;
54ec3a8 @rlerdorf Cleanups
rlerdorf authored Sep 4, 1999
56 zend_bool output_buffering;
24156db @zsuraski @- Added implicit_flush INI directive (Zeev)
zsuraski authored Jan 13, 2000
57 zend_bool implicit_flush;
79f9f0c @zsuraski Move safe_mode to the new php_ini mechanism
zsuraski authored Apr 10, 1999
58
54ec3a8 @rlerdorf Cleanups
rlerdorf authored Sep 4, 1999
59 zend_bool safe_mode;
60 zend_bool sql_safe_mode;
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored Jun 15, 1999
61 char *safe_mode_exec_dir;
54ec3a8 @rlerdorf Cleanups
rlerdorf authored Sep 4, 1999
62 zend_bool enable_dl;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored Apr 10, 1999
63
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored Jun 15, 1999
64 long memory_limit;
e3d2234 @zsuraski A lot of php3_ini -> php_ini work
zsuraski authored Apr 10, 1999
65
54ec3a8 @rlerdorf Cleanups
rlerdorf authored Sep 4, 1999
66 zend_bool track_errors;
67 zend_bool display_errors;
68 zend_bool log_errors;
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored Jun 15, 1999
69 char *error_log;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored Apr 10, 1999
70
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored Jun 15, 1999
71 char *doc_root;
72 char *user_dir;
73 char *include_path;
74 char *open_basedir;
75 char *extension_dir;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored Apr 10, 1999
76
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored Jun 15, 1999
77 char *upload_tmp_dir;
78 long upload_max_filesize;
35b30a8 Add reentrant versions of ctime, localtime, gmtime, asctime.
Sascha Schumann authored Nov 26, 1999
79
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored Jun 15, 1999
80 char *auto_prepend_file;
81 char *auto_append_file;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored Apr 10, 1999
82
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored Jun 15, 1999
83 char *arg_separator;
84 char *gpc_order;
9ab35ae @zsuraski Tried to centralize global variable registration as much as possible:
zsuraski authored Jan 28, 2000
85 char *variables_order;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored Apr 10, 1999
86
9e33157 @zsuraski That's important enough to be cached
zsuraski authored Sep 12, 1999
87 zend_bool expose_php;
88
54ec3a8 @rlerdorf Cleanups
rlerdorf authored Sep 4, 1999
89 zend_bool track_vars;
99f079a @zsuraski - A few fixes
zsuraski authored Jan 28, 2000
90 zend_bool register_globals;
91 zend_bool register_argc_argv;
bb6dff9 @zsuraski Buh-bye php3_ini
zsuraski authored Apr 10, 1999
92
54ec3a8 @rlerdorf Cleanups
rlerdorf authored Sep 4, 1999
93 zend_bool y2k_compliance;
0994667 @zsuraski Thread-safe header_is_being_sent
zsuraski authored Apr 23, 1999
94
0bede91 @rlerdorf First part of the connection_status work. No user-callable functions
rlerdorf authored Sep 4, 1999
95 short connection_status;
96 short ignore_user_abort;
97
162adb7 @rlerdorf @ PHP 4 scripts will now obey the max_execution_time setting and actu…
rlerdorf authored Dec 3, 1999
98 long max_execution_time;
99
f86fb81 @zsuraski Change four spaces back to tabs (Why the hell did you change the tabs…
zsuraski authored Jun 15, 1999
100 unsigned char header_is_being_sent;
d23e5d8 @- Implemented default_charset and default_mimetype config directives…
Stig Bakken authored Feb 25, 2000
101
102 zend_llist tick_functions;
011813c @zsuraski *** empty log message ***
zsuraski authored Apr 9, 1999
103 };
104
105
0994667 @zsuraski Thread-safe header_is_being_sent
zsuraski authored Apr 23, 1999
106 #endif /* _PHP_GLOBALS_H */
336392e * now using php4.ini instead of php3.ini
Stig Bakken authored Jun 15, 1999
107
108 /*
109 * Local variables:
110 * tab-width: 4
111 * c-basic-offset: 4
112 * End:
113 */
Something went wrong with that request. Please try again.