Re: Reading a file into a variable

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: Reading a file into a variable
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-15031@lists.php.net to get a copy of this message
> Sorry for the dumb question, but is there any function today that reads a > given file into a variable? Without making any parsing on it, turning it > to array or whatnot, just simply read the entire file into a variable...? Don't think so. We have file() which reads an entire file into an array. That is the closest. -Rasmus

« previous php.dev (#15031) next »