diff options
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/standard/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c index 587dccbebd..32d37e8be4 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -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; } |
