stream_filter_append()
The stream_filter_append() function attaches a filter to a stream. This is useful for processing data as it is read from or written to a stream.