From: zootsuitbrian at gmail dot com Operating system: Linux version 2.6.16.33 PHP version: 5.2.5 PHP Bug Type: Scripting Engine problem Bug description: Serious Problem with integer literals 08 and 09
Description: ------------ if you use the integer literals of 08 or 09, the php parser interprets them as an integer of value 0. Reproduce code: --------------- <?php var_dump(07, 08, 09, 10); ?> Expected result: ---------------- int(7) int(8) int(9) int(10) Actual result: -------------- int(7) int(0) int(0) int(10) -- Edit bug report at http://bugs.php.net/?id=44549&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44549&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44549&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44549&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44549&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44549&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44549&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44549&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44549&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44549&r=support Expected behavior: http://bugs.php.net/fix.php?id=44549&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44549&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44549&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44549&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44549&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44549&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44549&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44549&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44549&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44549&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44549&r=mysqlcfg
