note 81714 added to function.ftruncate
| From: | znupi69NOSPAMHERE at gmail dot com | Date: | Mon, 10 Mar 2008 21:09:30 +0000 |
| Subject: | note 81714 added to function.ftruncate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-136916@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 69.147.83.197
Probable Submitter: 77.81.204.37
----
Manual Page -- http://www.php.net/manual/en/function.ftruncate.php
Edit -- https://master.php.net/note/edit/81714
Del: integrated -- https://master.php.net/note/delete/81714/integrated
Del: useless -- https://master.php.net/note/delete/81714/useless
Del: bad code -- https://master.php.net/note/delete/81714/bad+code
Del: spam -- https://master.php.net/note/delete/81714/spam
Del: non-english -- https://master.php.net/note/delete/81714/non-english
Del: in docs -- https://master.php.net/note/delete/81714/in+docs
Del: other reasons-- https://master.php.net/note/delete/81714
Reject -- https://master.php.net/note/reject/81714
Search -- https://master.php.net/manage/user-notes.php