RE: [PHP-DEV] PHP 4.0 Bug #5008: readfile(), flag to read file into a string
| From: | Stanislav Malyshev | Date: | Tue, 13 Jun 2000 17:52:25 +0000 |
| Subject: | RE: [PHP-DEV] PHP 4.0 Bug #5008: readfile(), flag to read file into a string | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-21227@lists.php.net to get a copy of this message | ||
MR>> $fcontents = join( '', file(
MR>> 'http://www.php.net' ) );
I fear this is a waste of CPU, fread(filesize) should be much faster.
--
Stanislav Malyshev stas@zend.com
+972-3-6139665