PHP 8.3.4 Released!

streamWrapper::stream_truncate

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

streamWrapper::stream_truncateTruncar un flujo

Descripción

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

Responderá a la truncación, p.ej. a través de ftruncate().

Parámetros

new_size

El nuevo tamaño.

Valores devueltos

Devuelve true en caso de éxito o false en caso de error.

Ver también

add a note

User Contributed Notes

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