stream_filter_remove
PHP 5 >= 5.1.0, PHP 7, PHP 8
stream_filter_remove - Remove a filter from a stream
Manual
stream_filter_remove(
resource$stream_filter ): bool
Removes a stream filter previously added to a stream with stream_filter_prepend or stream_filter_append. Any data remaining in the filter's internal buffer will be flushed through to the next filter before removing it.
Parameters
- stream_filter
-
The stream filter to be removed.
Return Values
Returns true on success or false on failure.