From: guth at fiifo dot u-psud dot fr Operating system: Linux PHP version: 5.0.2 PHP Bug Type: Zend Engine 2 problem Bug description: Stream of type 'STDIO' was not closed
Description: ------------ hello, It seems that PHP doesn't close a "Stream of type 'STDIO'" when the PHP code produces a parse error with "throw". Reproduce code: --------------- <?php strlen(throw new Exception); ?> Expected result: ---------------- /www/test2.php(2) : Parse error - parse error, unexpected T_THROW, expecting ')' Actual result: -------------- /www/test2.php(2) : Parse error - parse error, unexpected T_THROW, expecting ')' /usr/src/php5/main/streams/streams.c(375) : Stream of type 'STDIO' 0x816d83c (path:/www/test2.php) was not closed -- Edit bug report at http://bugs.php.net/?id=30708&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30708&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30708&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30708&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30708&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30708&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30708&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30708&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30708&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30708&r=support Expected behavior: http://bugs.php.net/fix.php?id=30708&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30708&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30708&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30708&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30708&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30708&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30708&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30708&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30708&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30708&r=mysqlcfg
