Re: Re: Reading from a file using fgets()

From: Date: Fri, 30 Aug 2002 05:32:09 +0000
Subject: Re: Re: Reading from a file using fgets()
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-114604@lists.php.net to get a copy of this message
Interesting. It's not documented. On Thu, 2002-08-29 at 14:44, Dallas Thunder wrote: > Well, this is exactly what function file() does. > > "David Christensen" <davidc-php@connect4less.com> wrote in message > news:1030657286.23014.178.camel@pluto.connect4less.com... > > When PHP reads from a file using fgets(), does it do it in order? > > Meaning, when reading STDIN from a file, does it read line1, then line2, > > line3, and so on until EOF? > > > > My purpose is to read each line of file and push it into an array. > > > > Thanks for your help, > > > > Dave > > > > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#114604) next »