/usr/share/php/tests/PHP_Compat/tests/environment/register_globals_on.phpt is in php-compat 1.6.0a3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | --TEST--
Environment - register_globals on
--INI--
register_globals=Off
--POST--
foo=bar
--FILE--
<?php
require_once 'PHP/Compat/Environment/register_globals_on.php';
var_dump(isset($GLOBALS['foo']) ? $GLOBALS['foo'] : false);
?>
--EXPECT--
string(3) "bar"
|