PHP 4.0 Bug #7213: Read a file into a variable with one call
| From: | david at dailyrush dot dk | Date: | Sat, 14 Oct 2000 21:57:00 +0000 |
| Subject: | PHP 4.0 Bug #7213: Read a file into a variable with one call | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35017@lists.php.net to get a copy of this message | ||
From: david@dailyrush.dk
Operating system: FreeBSD
PHP version: 4.0.3
PHP Bug Type: Feature/Change Request
Bug description: Read a file into a variable with one call
It would be really nice if someone could make a function call for reading an entire file into one
variable, so one would have to use implode("", file("file.txt")); for something
as simple as that.
--
Edit Bug report at: http://bugs.php.net/?id=7213&edit=1