int stream_set_read_buffer ( resource $stream , int $buffer )
Sets the read buffer. It's the equivalent of stream_set_write_buffer(), but for read operations.
Returns 0 on success, or EOF if the request cannot be honored.