ID:               27822
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Assigned
+Status:           Closed
 Bug Type:         Filesystem function related
 Operating System: Irrelevant
 PHP Version:      Irrelevant
 Assigned To:      derick
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




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

Reply via email to