mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1: Reset FG(user_stream_current_filename) at the end of request
This commit is contained in:
commit
d64aa6f646
@ -1761,6 +1761,7 @@ static void stream_resource_persistent_dtor(zend_resource *rsrc)
|
||||
|
||||
void php_shutdown_stream_hashes(void)
|
||||
{
|
||||
FG(user_stream_current_filename) = NULL;
|
||||
if (FG(stream_wrappers)) {
|
||||
zend_hash_destroy(FG(stream_wrappers));
|
||||
efree(FG(stream_wrappers));
|
||||
|
Loading…
Reference in New Issue
Block a user