Re: cvs: php4 /ext/standard basic_functions.c file.c file.h
| From: | Wez Furlong | Date: | Mon, 08 Oct 2001 09:22:28 +0000 |
| Subject: | Re: cvs: php4 /ext/standard basic_functions.c file.c file.h | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-7719@lists.php.net to get a copy of this message | ||
+1 for file_get_contents($file_or_url, [$optional_size]):
uses mmap for local files if available, or falls back to regular
I/O (ideally using php streams) otherwise.
I Just need to finish the streams stuff...
--Wez.
> > - Added mmapfile(), read a file into a variabele with mmap (Patch by:
> > Ilia A. <ilia@prohost.org>)
> >
> I don't think this function belongs in the PHP core -- at least not
> with its current name and semantics, because: