From: harvey dot robin at gmail dot com Operating system: Linux, Ubuntu PHP version: 5.2.0RC5 PHP Bug Type: SPL related Bug description: Parse error in recursiveiteratoriterator.php
Description: ------------ Hi, I noticed a parse error in the file ext/spl/internal/recursiveiteratoriterator.inc. The same error is in the web cvs view here: http://cvs.php.net/viewvc.cgi/php-src/ext/spl/internal/recursiveiteratoriterator.inc?view=markup The error is on line 220, or 152, depending on whether there are any comments in it. Many thanks, Robin Harvey Reproduce code: --------------- php -l ext/spl/internal/recursiveiteratoriterator.inc Actual result: -------------- Parse error: syntax error, unexpected T_VARIABLE in ext/spl/internal/recursiveiteratoriterator.inc on line 220 -- Edit bug report at http://bugs.php.net/?id=39151&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39151&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39151&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39151&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39151&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39151&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39151&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=39151&r=needscript Try newer version: http://bugs.php.net/fix.php?id=39151&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39151&r=support Expected behavior: http://bugs.php.net/fix.php?id=39151&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39151&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39151&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39151&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39151&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39151&r=dst IIS Stability: http://bugs.php.net/fix.php?id=39151&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39151&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39151&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39151&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=39151&r=mysqlcfg