summaryrefslogtreecommitdiff
path: root/main/php_globals.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-01-28 17:24:53 +0000
committerZeev Suraski <zeev@php.net>2000-01-28 17:24:53 +0000
commit9ab35ae39367bcd30037c6bfc73ae0c77c35d872 (patch)
tree0159d87ae935d13e9b82961442d741ce9360b439 /main/php_globals.h
parent270eff1dfee55220c009cd1a546901339f657b94 (diff)
downloadphp-git-9ab35ae39367bcd30037c6bfc73ae0c77c35d872.tar.gz
Tried to centralize global variable registration as much as possible:
- Added $HTTP_ENV_VARS[] and $HTTP_SERVER_VARS[] support, which similarly to $HTTP_GET_VARS[], contain environment and server variables. Setting register_globals to Off will now also prevent registration of the environment and server variables into the global scope (Zeev) - Renamed gpc_globals to register_globals (Zeev) - Introduced variables_order that deprecates gpc_order, and allows control over the server and environment variables, in addition to GET/POST/Cookies (Zeev)
Diffstat (limited to 'main/php_globals.h')
-rw-r--r--main/php_globals.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/php_globals.h b/main/php_globals.h
index 809b36ae53..8bb5792c82 100644
--- a/main/php_globals.h
+++ b/main/php_globals.h
@@ -81,6 +81,7 @@ struct _php_core_globals {
char *arg_separator;
char *gpc_order;
+ char *variables_order;
zend_bool expose_php;