Sets the resource to read from while streaming up. Reads the stream from its current position until
EOF or $size bytes have been read. If $size is not given it will be determined by and
.
public set_read_stream ( resource $resource, integer $size = null ) | ||
$resource | resource | (Required) The readable resource to read from. |
$size | integer | (Optional) The size of the stream to read. |