Search Results
Parameters ¶ stream The file pointer. size The number of bytes to buffer. If size is 0 then read operations are unbuffered. This ensures that all reads with fread () are completed before other processes are allowed to read from that input stream.
PHP Stream Introduction Streams are the way of generalizing file, network, data compression, and other operations which share a common set of functions and uses. In its simplest definition, a stream is a resource object which exhibits streamable behavior. That is, it can be read from or written to in a linear fashion, and may be able to fseek () to an arbitrary location within the stream. A ...
FunctionDescriptionset_socket_blocking ()Deprecated in PHP 5.4, and removed in PHP ...Copies data from one stream to anotherAppends a filter to a streamstream_register_wrapper ()Alias of stream_wrapper_register ()stream_set_write_buffer - Sets write file buffering on the given stream stream_socket_accept - Accept a connection on a socket created by <function>stream_socket_server</function>
The PHP stream_set_read_buffer () function sets read file buffering on the given stream. It is the equivalent of stream_set_write_buffer (), but for read operations.
stream_set_chunk_size — Set the stream chunk size stream_set_read_buffer — Set read file buffering on the given stream stream_set_timeout — Set timeout period on a stream stream_set_write_buffer — Sets write file buffering on the given stream stream_socket_accept — Accept a connection on a socket created by stream_socket_server
Parameters stream The file pointer. buffer The number of bytes to buffer. If buffer is 0 then read operations are unbuffered. This ensures that all reads with fread () are completed before other processes are allowed to read from that input stream. Return Values Returns 0 on success, or another value if the request cannot be honored.
« stream_set_chunk_size stream_set_timeout » PHP Manual Stream Functions Set read file buffering on the given stream
