#30708 [NoF->Opn]: Stream of type 'STDIO' was not closed

From: Date: Fri, 03 Dec 2004 21:54:37 +0000
Subject: #30708 [NoF->Opn]: Stream of type 'STDIO' was not closed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-69782@lists.php.net to get a copy of this message
ID: 30708 User updated by: guth at fiifo dot u-psud dot fr Reported By: guth at fiifo dot u-psud dot fr -Status: No Feedback +Status: Open Bug Type: Zend Engine 2 problem Operating System: Linux PHP Version: 5.0.2 New Comment: The problem still occurs on my system... Previous Comments: ------------------------------------------------------------------------ [2004-11-18 01:00:02] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2004-11-09 09:12:26] tony2001@php.net Please try using this CVS snapshot: http://snaps.php.net/php5-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.0-win32-latest.zip ------------------------------------------------------------------------ [2004-11-07 00:22:58] guth at fiifo dot u-psud dot fr 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 this bug report at http://bugs.php.net/?id=30708&edit=1

« previous php.bugs (#69782) next »