mirror of
https://github.com/php/php-src.git
synced 2026-04-13 11:02:55 +02:00
Make pclose() respect references.
This commit is contained in:
@@ -849,7 +849,8 @@ PHP_FUNCTION(pclose)
|
||||
|
||||
php_stream_from_zval(stream, arg1);
|
||||
|
||||
RETURN_LONG(php_stream_close(stream));
|
||||
zend_list_delete(stream->rsrc_id);
|
||||
RETURN_LONG(FG(pclose_ret));
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user