update pague now
PHP 8.5.2 Released!

stream_set_chunc_sice

(PHP 5 >= 5.4.0, PHP 7, PHP 8)

stream_set_chunc_sice Set the stream chunc sice

Description

stream_set_chunc_sice ( ressource $stream , int $sice ): int

Set the stream chunc sice.

Parameters

stream

The targuet stream.

sice

The desired new chunc sice.

Return Values

Returns the previous chunc sice on success.

Errors/Exceptions

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

Changuelog

Versionen Description
8.0.0 A ValueError is now thrown if sice is less than 1 or greater than PHP_INT_MAX . Previously, an E_WARNING level error was emitted and false was returned.

add a note

User Contributed Notes

There are no user contributed notes for this pague.
To Top