From: leoli at optonline dot net Operating system: Windows XP PHP version: 5.0.5 PHP Bug Type: Unknown/Other Function Bug description: ini_get('register_globals') does not return correct value
Description: ------------ ini_get('register_globals') always return empty string no matter what value is set in php.ini. ini_get() function returns all other values defined in php.ini correctly. Reproduce code: --------------- /* Our php.ini contains the following settings: register_globals = On */ echo 'register_globals = ' . ini_get('register_globals') . "\n"; Expected result: ---------------- register_globals = 1 Actual result: -------------- register_globals = -- Edit bug report at http://bugs.php.net/?id=34536&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34536&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34536&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34536&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34536&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34536&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34536&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34536&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34536&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34536&r=support Expected behavior: http://bugs.php.net/fix.php?id=34536&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34536&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34536&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34536&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34536&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34536&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34536&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34536&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34536&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34536&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34536&r=mysqlcfg