PHP 4.0 Bug #5859 Updated: fseek() with whence SEEK_CUR wrong

From: Date: Sun, 30 Jul 2000 10:21:16 +0000
Subject: PHP 4.0 Bug #5859 Updated: fseek() with whence SEEK_CUR wrong
Groups: php.dev 
Request: Send a blank email to php-dev+get-26911@lists.php.net to get a copy of this message
ID: 5859 Updated by: derick Reported By: ccjeagle@ms6.hinet.net Status: Closed Bug Type: Other Assigned To: Comments: I think it is correct. The fgetc gets a character from file and advances the filepointer, si that the next time you do a fgetc you'll get the next chracter. After the first fgetc the filepointer is already on position 4 ('5') and so fseek ($fp, 0, SEEK_CUR) ideed does nothing. Closed Full Bug description available at: http://bugs.php.net/?id=5859

« previous php.dev (#26911) next »