From: jsnell at e-normous dot com Operating system: 10.4.10 PHP version: 5.2.3 PHP Bug Type: Session related Bug description: $_SESSION[false] = 1; Notice: Unknown: Skipping numeric key 0. in Unknown on
Description: ------------ Attempting to use an array key of false on $_SESSION after a session has been started causes a notice without sufficient information to fix the problem. Also tested in latest CVS: PHP 5.2.4RC4-dev (cgi) (built: Aug 29 2007 11:53:35) Reproduce code: --------------- error_reporting(E_ALL); session_start(); $_SESSION[false] = 1; Expected result: ---------------- Notice: Unknown: Skipping numeric key 0. in test.php on line 3 Actual result: -------------- Notice: Unknown: Skipping numeric key 0. in Unknown on line 0 -- Edit bug report at http://bugs.php.net/?id=42472&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42472&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42472&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42472&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=42472&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=42472&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=42472&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=42472&r=needscript Try newer version: http://bugs.php.net/fix.php?id=42472&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=42472&r=support Expected behavior: http://bugs.php.net/fix.php?id=42472&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=42472&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=42472&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=42472&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42472&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=42472&r=dst IIS Stability: http://bugs.php.net/fix.php?id=42472&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=42472&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=42472&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=42472&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=42472&r=mysqlcfg