note 12874 deleted from function.ftell by nlopess

From: Date: Wed, 24 Dec 2003 13:45:00 +0000
Subject: note 12874 deleted from function.ftell by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-62414@lists.php.net to get a copy of this message
Note Submitter: anonymous@coward.com ---- Actually, the above not is incorrect. If you call fp($filehandler) when the pointer is still in the beginning of a file, it will return 0 - not 1. after have read one byte, it will return 1, because the next read/write will occur on this offset. So, after reading/writing 1024bytes, it will return 1024, which will also be the the next byte it will read/write. However it will be the 1025th byte read.

« previous php.notes (#62414) next »