note 81714 rejected from function.ftruncate by felipe

From: Date: Wed, 12 Mar 2008 21:58:05 +0000
Subject: note 81714 rejected from function.ftruncate by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-136987@lists.php.net to get a copy of this message
Note Submitter: znupi69NOSPAMHERE at gmail dot com ---- It seems the function does not accept negative values for $size, and it doesn't do anything if you pass one (it doesn't print an error and it doesn't truncate anything). It would've been nice if it would truncate from the beginning when passed a negative value for $size.

« previous php.notes (#136987) next »