file_get_contents
Reads entire file into a string
&reftitle.description;
stringfile_get_contents
stringfilename
booluse_include_path
resourcecontext
intoffset
intmaxlen
Identical to file, except that
file_get_contents returns the file in a string,
starting at the specified offset up to
maxlen bytes.
On failure, file_get_contents will return &false;.
file_get_contents is the preferred way to read the
contents of a file into a string. It will use memory mapping techniques if
supported by your OS to enhance performance.
If you're opening a URI with special characters, such as spaces, you
need to encode the URI with urlencode.
context parameter can be skipped by &null;.
&reftitle.changelog;
&Version;
&Description;
5.0.0
Added the context support.
5.1.0
Added the offset and
maxlen parameters.
&reftitle.notes;
¬e.bin-safe;
&tip.fopen-wrapper;
¬e.context-support;
&warn.ssl-non-standard;
&reftitle.seealso;
file
fgets
fread
readfile
file_put_contents
stream_get_contents