(PHP 4 >= 4.3.0, PHP 5, PHP 7)
Attach a filter to a stream
resource stream_filter_prepend ( resource $stream, string $filtername [, int $read_write [, mixed $params ]] )
Adds filtername to the list of filters attached to stream.
Parameters:
stream
The target stream.
filtername
The filter name.
read_write