stream_get_filters

(PHP 5, PHP 7) Retrieve list of registered filters array stream_get_filters ( void ) Retrieve the list of registered filters on the running system. Returns: Returns an indexed array containing the name of all stream filters available. Examples: Using stream_get_filters() <?php $streamlist = stream_get_filters(); print_

stream_get_contents

(PHP 5, PHP 7) Reads remainder of a stream into a string string stream_get_contents ( resource $handle [, int $maxlength = -1 [, int $offset = -1 ]] ) Identical to file_get_contents(), except that stream_get_contents() operates on an already open stream resource and returns the remaining contents in a string, up to maxlength bytes and starting at the specified offset. Parameters: ha

stream_filter_remove

(PHP 5 >= 5.1.0, PHP 7) Remove a filter from a stream bool stream_filter_remove ( resource $stream_filter ) 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 fil

stream_filter_register

(PHP 5, PHP 7) Register a user defined stream filter bool stream_filter_register ( string $filtername, string $classname ) stream_filter_register() allows you to implement your own filter on any registered stream used with all the other filesystem functions (such as fopen(), fread() etc.). Parameters: filtername The filter name to be registered. cla

stream_filter_prepend

(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

stream_filter_append

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Attach a filter to a stream resource stream_filter_append ( 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

stream_encoding

(No version information available, might only be in Git) Set character set for stream encoding bool stream_encoding ( resource $stream [, string $encoding ] ) This function is currently not documented; only its argument list is available.

stream_copy_to_stream

(PHP 5, PHP 7) Copies data from one stream to another int stream_copy_to_stream ( resource $source, resource $dest [, int $maxlength = -1 [, int $offset = 0 ]] ) Makes a copy of up to maxlength bytes of data from the current position (or from the offset position, if specified) in source to dest. If maxlength is not specified, all remaining content in source will be copied. Parameters:

stream_context_set_params

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Set parameters for a stream/wrapper/context bool stream_context_set_params ( resource $stream_or_context, array $params ) Sets parameters on the specified context. Parameters: stream_or_context The stream or context to apply the parameters too. params An array of parameters to set. Note: params shou

stream_context_set_option

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Sets an option for a stream/wrapper/context bool stream_context_set_option ( resource $stream_or_context, string $wrapper, string $option, mixed $value ) bool stream_context_set_option ( resource $stream_or_context , array $options ) Sets an option on the specified context. value is set to option for wrapper Parameters: stream_or_context