PHP Velho Oeste 2024

streamWrapper::stream_truncate

(PHP 5 >= 5.4.0, PHP 7)

streamWrapper::stream_truncateTruncate stream

Descrierea

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

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

Parametri

new_size

The new size.

Valorile întoarse

Întoarce valoarea true în cazul succesului sau false în cazul eșecului.

A se vedea și

add a note add a note

User Contributed Notes

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