PHP.nl

stream_set_chunk_size

stream_set_chunk_size

Set the stream chunk size

int **stream_set_chunk_size** resource $stream int $size

Set the stream chunk size.

streamThe target stream.

sizeThe desired new chunk size.

Returns the previous chunk size on success.

A is thrown if is less than 1 or greater than . ValueError``size``PHP_INT_MAX