Bug #7213 Updated: Read a file into a variable with one call
| From: | sniper@php.net | Date: | Wed, 10 Apr 2002 22:06:26 +0000 |
| Subject: | Bug #7213 Updated: Read a file into a variable with one call | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-4563@lists.php.net to get a copy of this message | ||
ID: 7213
Updated by: sniper@php.net
Reported By: david@dailyrush.dk
-Status: Duplicate
+Status: Closed
Bug Type: Feature/Change Request
Operating System: FreeBSD
PHP Version: 4.0.3
New Comment:
Added in PHP 4.3.0 (current CVS HEAD):
http://www.php.net/manual/en/function.file-get-contents.php
Previous Comments:
------------------------------------------------------------------------
[2001-08-12 15:17:16] sebastian@php.net
Duplicate of Bug #5008.
------------------------------------------------------------------------
[2000-10-14 17:57:00] david@dailyrush.dk
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 this bug report at http://bugs.php.net/?id=7213&edit=1