]> granicus.if.org Git - php/commitdiff
- Made 'register_long_arrays' to be "On" by default.
authorfoobar <sniper@php.net>
Fri, 25 Apr 2003 10:57:23 +0000 (10:57 +0000)
committerfoobar <sniper@php.net>
Fri, 25 Apr 2003 10:57:23 +0000 (10:57 +0000)
main/main.c
php.ini-dist

index 4af274ebd660434f23169b519f7706a87c9107fc..1f1be3de87c8c530b074fd844a26a6daea34e615 100644 (file)
@@ -291,7 +291,7 @@ PHP_INI_BEGIN()
        STD_PHP_INI_ENTRY("output_handler",                     NULL,           PHP_INI_PERDIR|PHP_INI_SYSTEM,  OnUpdateString, output_handler,         php_core_globals,       core_globals)
        STD_PHP_INI_BOOLEAN("register_argc_argv",       "1",            PHP_INI_PERDIR|PHP_INI_SYSTEM,  OnUpdateBool,   register_argc_argv,             php_core_globals,       core_globals)
        STD_PHP_INI_BOOLEAN("register_globals",         "0",            PHP_INI_PERDIR|PHP_INI_SYSTEM,  OnUpdateBool,   register_globals,               php_core_globals,       core_globals)
-       STD_PHP_INI_BOOLEAN("register_long_arrays",     "0",            PHP_INI_PERDIR|PHP_INI_SYSTEM,  OnUpdateBool,   register_long_arrays,   php_core_globals,       core_globals)
+       STD_PHP_INI_BOOLEAN("register_long_arrays",     "1",            PHP_INI_PERDIR|PHP_INI_SYSTEM,  OnUpdateBool,   register_long_arrays,   php_core_globals,       core_globals)
 #if PHP_SAFE_MODE
        STD_PHP_INI_BOOLEAN("safe_mode",                        "1",            PHP_INI_SYSTEM,         OnUpdateBool,                   safe_mode,                              php_core_globals,       core_globals)
 #else
index c7e586970cbfa666d75d3eab0e15fa4f450c30ea..de61d45ed1af9f4434ef79de560200273675d1b0 100644 (file)
@@ -364,7 +364,7 @@ register_globals = Off
 ; Whether or not to register the old-style input arrays, HTTP_GET_VARS
 ; and friends.  If you're not using them, it's recommended to turn them off,
 ; for performance reasons.
-register_long_arrays = Off
+register_long_arrays = On
 
 ; This directive tells PHP whether to declare the argv&argc variables (that
 ; would contain the GET information).  If you don't use these variables, you