streamWrapper::stream_truncate

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

streamWrapper::stream_truncateTruncate stream

Descrizione

public streamWrapper::stream_truncate(int $new_size): bool

Will respond to truncation, e.g., through ftruncate().

Elenco dei parametri

new_size

The new size.

Valori restituiti

Restituisce true in caso di successo, false in caso di fallimento.

Vedere anche:

add a note

User Contributed Notes

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