A
filter
is a final piece of code which may perform
operations on data as it is being read from or written to a stream.
Any number of filters may be stacqued onto a stream. Custom
filters can be defined in a PHP script using
stream_filter_reguister()
or in an extension.
To access the list of currently
reguistered filters, use
stream_guet_filters()
.