Bug #7213 Updated: Read a file into a variable with one call

From: Date: Sun, 12 Aug 2001 19:17:17 +0000
Subject: Bug #7213 Updated: Read a file into a variable with one call
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-62994@lists.php.net to get a copy of this message
ID: 7213 Updated by: sebastian Reported By: david@dailyrush.dk Old Status: Open Status: Duplicate Bug Type: Feature/Change Request Operating System: FreeBSD PHP Version: 4.0.3 New Comment: Duplicate of Bug #5008. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.dev (#62994) next »