|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2004-04-01 03:47 UTC] derick@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 13:00:01 2025 UTC | 
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)