From: cliff at may dot be
Operating system: Apache2
PHP version: 5.0.0b1 (beta1)
PHP Bug Type: Documentation problem
Bug description: register_globals gone
Description:
------------
I assume it is deliberate that, in PHP-5b1, register_globals = 1 no longer
brings in $_POST() and $_GET() variables but the documentation and
php.ini-dist still imply that it is an option.
Reproduce code:
---------------
echo "<PRE>\n";
echo 'register_globals = ', ini_get('register_globals'), "\n";
echo "test = $test\n";
echo "\$POST('test') = ", $_POST('test'), "\n";
Expected result:
----------------
register_globals = 1
test = ok
$POST('test') = ok
Actual result:
--------------
register_globals = 1
test =
$POST('test') = ok
--
Edit bug report at http://bugs.php.net/?id=25661&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25661&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25661&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25661&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25661&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25661&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25661&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25661&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25661&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25661&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25661&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25661&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25661&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25661&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25661&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25661&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25661&r=float