summaryrefslogtreecommitdiff
path: root/main/php_globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php_globals.h')
-rw-r--r--main/php_globals.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/php_globals.h b/main/php_globals.h
index 9c3ee04294..1a1a6db707 100644
--- a/main/php_globals.h
+++ b/main/php_globals.h
@@ -42,6 +42,14 @@ extern PHPAPI int core_globals_id;
extern ZEND_API struct _php_core_globals core_globals;
#endif
+typedef struct _php_http_globals {
+ zval *post;
+ zval *get;
+ zval *cookie;
+ zval *server;
+ zval *environment;
+} php_http_globals;
+
struct _php_tick_function_entry;
struct _php_core_globals {
@@ -100,6 +108,8 @@ struct _php_core_globals {
unsigned char header_is_being_sent;
zend_llist tick_functions;
+
+ php_http_globals http_globals;
};