Predefined function reference

file_get_contents

A reference entry for file_get_contents

Predefined function · file

file_get_contents (string file[, boolean escape_string]) ⇒ string

Reads all text within a file and returns it as a string.

Notes

ZPE 1.8.5 also can use this function to read text from a URL on the web.

Version 1.5.3 added the format and escape_string parameters.