mirror of
https://github.com/php/php-src.git
synced 2026-04-18 05:21:02 +02:00
Fixed bug #24557 (make fclose() respect refcount on the resource).
This commit is contained in:
@@ -763,7 +763,7 @@ PHPAPI PHP_FUNCTION(fclose)
|
||||
}
|
||||
|
||||
php_stream_from_zval(stream, arg1);
|
||||
php_stream_close(stream);
|
||||
zend_list_delete(stream->rsrc_id);
|
||||
|
||||
RETURN_TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user