mirror of
https://github.com/php/php-src.git
synced 2026-03-30 04:02:19 +02:00
Fixed stream_filter_remove()
This commit is contained in:
@@ -1284,7 +1284,7 @@ PHP_FUNCTION(stream_filter_remove)
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
if (zend_list_delete(Z_RES_P(zfilter)) == FAILURE) {
|
||||
if (zend_list_close(Z_RES_P(zfilter)) == FAILURE) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not invalidate filter, not removing");
|
||||
RETURN_FALSE;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user