downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

streamWrapper::stream_write> <streamWrapper::stream_tell
[edit] Last updated: Fri, 24 May 2013

view this page in

streamWrapper::stream_truncate

(PHP 5 >= 5.4.0)

streamWrapper::stream_truncateTronque un flux

Description

public bool streamWrapper::stream_truncate ( int $new_size )

Répondra à une opération de tronquature effectuée au moyen de ftruncate().

Liste de paramètres

new_size

La nouvelle taille.

Valeurs de retour

Cette fonction retourne TRUE en cas de succès ou FALSE si une erreur survient.

Voir aussi



add a note add a note User Contributed Notes streamWrapper::stream_truncate - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites