Re: Re: File::readAll()
| From: | Olivier Vanhoucke | Date: | Thu, 01 Aug 2002 10:20:31 +0000 |
| Subject: | Re: Re: File::readAll() | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-8118@lists.php.net to get a copy of this message | ||
I agree with big files (> 50kb) but when i asked this question, it was for
15 char on 2 lines ;o)))
Olivier
> > (or something like that) will be faster than
> >
> > $tmp = implode('', file($filename));
>
> I m not that sure :).
>
> The 2nd method with medium or large files will be so efficient. Try it
with a file of 1Mo, nice array ;)
>
> pa