stream_set_blocking

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Set blocking/non-blocking mode on a stream bool stream_set_blocking ( resource $stream, bool $mode ) Sets blocking or non-blocking mode on a stream. This function works for any stream that supports non-blocking mode (currently, regular files and socket streams). Parameters: stream The stream. mode If

stream_select

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Runs the equivalent of the select() system call on the given arrays of streams with a timeout specified by tv_sec and tv_usec int stream_select ( array &$read, array &$write, array &$except, int $tv_sec [, int $tv_usec = 0 ] ) The stream_select() function accepts arrays of streams and waits for them to change status. Its operation is equivalent to that of the socket_select() fu

stream_resolve_include_path

(PHP 5 >= 5.3.2, PHP 7) Resolve filename against the include path string stream_resolve_include_path ( string $filename ) Resolve filename against the include path according to the same rules as fopen()/include. Parameters: filename The filename to resolve. Returns: Returns a string containing the resolved absolute filename, or FALSE on fail

stream_register_wrapper

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Alias of stream_wrapper_register() This function is an alias of: stream_wrapper_register().

stream_notification_callback

(PHP 5 >= 5.2.0, PHP 7) A callback function for the notification context parameter void stream_notification_callback ( int $notification_code, int $severity, string $message, int $message_code, int $bytes_transferred, int $bytes_max ) A callable function, used by the notification context parameter, called during an event. Note: This is not a real function, only a prototype of how the function should be.

stream_is_local

(PHP 5 >= 5.2.4, PHP 7) Checks if a stream is a local stream bool stream_is_local ( mixed $stream_or_url ) Checks if a stream, or a URL, is a local one or not. Parameters: stream_or_url The stream resource or URL to check. Returns: Returns TRUE on success or FALSE on failure. Examples:

stream_get_wrappers

(PHP 5, PHP 7) Retrieve list of registered streams array stream_get_wrappers ( void ) Retrieve list of registered streams available on the running system. Returns: Returns an indexed array containing the name of all stream wrappers available on the running system. Examples: stream_get_wrappers() example <?php print_r(s

stream_get_transports

(PHP 5, PHP 7) Retrieve list of registered socket transports array stream_get_transports ( void ) Returns an indexed array containing the name of all socket transports available on the running system. Returns: Returns an indexed array of socket transports names. Examples: Using stream_get_transports() <?php $xportlist 

stream_get_meta_data

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Retrieves header/meta data from streams/file pointers array stream_get_meta_data ( resource $stream ) Returns information about an existing stream. Parameters: stream The stream can be any stream created by fopen(), fsockopen() and pfsockopen(). Returns: The result array contains the following items: timed_out

stream_get_line

(PHP 5, PHP 7) Gets line from stream resource up to a given delimiter string stream_get_line ( resource $handle, int $length [, string $ending ] ) Gets a line from the given handle. Reading ends when length bytes have been read, when the string specified by ending is found (which is not included in the return value), or on EOF (whichever comes first). This function is nearly identical to fgets() except in that it allows