ID: 27822
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Assigned
Bug Type: Filesystem function related
Operating System: Irrelevant
PHP Version: Irrelevant
-Assigned To:
+Assigned To: derick
Previous Comments:
------------------------------------------------------------------------
[2004-04-01 03:43:12] [EMAIL PROTECTED]
Description:
------------
is_resource() returns true even if the resource is already closed
Reproduce code:
---------------
php -r '$f=fopen("test","w");fclose($f);var_dump(is_resource($f));'
Expected result:
----------------
bool(false)
Actual result:
--------------
bool(true)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27822&edit=1