Bug #13930 Updated: file() missing line 1

From: Date: Sun, 11 Nov 2001 07:17:38 +0000
Subject: Bug #13930 Updated: file() missing line 1
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-70066@lists.php.net to get a copy of this message
ID: 13930 User updated by: rich67dev@hotmail.com Reported By: rich67dev@hotmail.com Status: Closed Bug Type: Filesystem function related Operating System: OSX PHP Version: 4.0.6 New Comment: This also may be my bad - due to lack of experience with this particular function. Anyway, what is really going on is that if you do not include a file extenstion such as txt or .sql etc the function starts reading from line two. So, the problem is actually not tied to OSX. Thanks nonetheless, Regards RBS Previous Comments: ------------------------------------------------------------------------ [2001-11-10 04:05:02] sniper@php.net This should be fixed in CVS. Could you please try the latest CVS snapshot from http://snaps.php.net/ and if it doesn't work, reopen this bug report. ------------------------------------------------------------------------ [2001-11-05 02:11:05] rich67dev@hotmail.com It would seem that file() and other related functions do not read the first line on OSX. I tested this on another non- OSX bsd box - and reads from line 1 were fine. I have also tested this in the past on Linux (RedHat 6.2 in particular) ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13930&edit=1

« previous php.dev (#70066) next »