Test case: Old script running on modern system

>>> Current PHP configuration

safe_mode = 
register_globals = 
register_long_arrays = 
magic_quotes_gpc = 
magic_quotes_sybase = 
auto_globals_jit = 1
>>> Current status:

$HTTP_GET_VARS available? No
$HTTP_POST_VARS available? No
$param available? Yes
test123\'test Contents of $_REQUEST:
Array ( [param] => test123\'test )

Debug: Emulate magic_quotes_gpc=on (is off)
>>> Current PHP configuration

safe_mode = 
register_globals = 
register_long_arrays = 
magic_quotes_gpc = 
magic_quotes_sybase = 
auto_globals_jit = 1
>>> Current status:

$HTTP_GET_VARS available? No
$HTTP_POST_VARS available? No
$param available? Yes
test123\\\'test Contents of $_REQUEST:
Array ( [param] => test123\\\'test )

Debug: Emulate magic_quotes_sybase=on (is off)
>>> Current PHP configuration

safe_mode = 
register_globals = 
register_long_arrays = 
magic_quotes_gpc = 
magic_quotes_sybase = 
auto_globals_jit = 1
>>> Current status:

$HTTP_GET_VARS available? No
$HTTP_POST_VARS available? No
$param available? Yes
test123\''test Contents of $_REQUEST:
Array ( [param] => test123\''test )

Debug: Emulate register_globals=on (is off)
>>> Current PHP configuration

safe_mode = 
register_globals = 
register_long_arrays = 
magic_quotes_gpc = 
magic_quotes_sybase = 
auto_globals_jit = 1
>>> Current status:

$HTTP_GET_VARS available? No
$HTTP_POST_VARS available? No
$param available? Yes
test123\''test Contents of $_REQUEST:
Array ( [param] => test123\''test )

Debug: Emulate register_long_arrays=on (is off)
>>> Current PHP configuration

safe_mode = 
register_globals = 
register_long_arrays = 
magic_quotes_gpc = 
magic_quotes_sybase = 
auto_globals_jit = 1
>>> Current status:

$HTTP_GET_VARS available? Yes
Array ( [param] => test123\''test ) $HTTP_POST_VARS available? Yes
Array ( ) $param available? Yes
test123\''test Contents of $_REQUEST:
Array ( [param] => test123\''test )