ID: 30377 Updated by: [EMAIL PROTECTED] Reported By: guth at fiifo dot u-psud dot fr Status: Assigned Bug Type: Filesystem function related Operating System: * PHP Version: 5CVS-2005-03-29 -Assigned To: wez +Assigned To: iliaa New Comment:
Propably same as bug #31918 Previous Comments: ------------------------------------------------------------------------ [2004-10-11 07:52:33] [EMAIL PROTECTED] Wez, I saw this before too, seems streams related. ------------------------------------------------------------------------ [2004-10-09 22:39:13] guth at fiifo dot u-psud dot fr Description: ------------ I get an error when i use php_check_syntax() with an invalid PHP file. Reproduce code: --------------- <?php var_dump(php_check_syntax("test2.php")); ?> in test2.php <?php sddfdsf fsqd ?> Expected result: ---------------- bool(false) Actual result: -------------- bool(false) /usr/src/php5-STABLE-200410091830/main/streams/streams.c(375) : Stream of type 'STDIO' 0x831c7ec (path:test2.php) was not closed The following diff seems to correct the problem : [EMAIL PROTECTED] php5-STABLE-200410091830]$ diff main/main.c2 main/main.c 1751a1752,1753 > zend_destroy_file_handle(file TSRMLS_CC); > ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30377&edit=1