file_get_contents (string file[, boolean escape_string]) ⇒ string
Reads all text within a file and returns it as a string.
Notes
Prior to ZPE 1.8.5 (May 2020, Carter) the second argument was called format and was designed
to accept the word bytes or string to determine how the output would be formatted. 1.8.5
changed the function to no longer accept byte output and moved it to
file_get_bytes.
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.
Prior to version 1.7.6 this method was called file_open. It was renamed as
the file_open method was reused.

There are no comments on this page.
Comments are welcome and encouraged, including disagreement and critique. However, this is not a space for abuse. Disagreement is welcome; personal attacks, harassment, or hate will be removed instantly. This site reflects personal opinions, not universal truths. If you can’t distinguish between the two, this probably isn’t the place for you. The system temporarily stores IP addresses and browser user agents for the purposes of spam prevention, moderation, and safeguarding. This data is automatically removed after fourteen days.
Comments powered by BalfComment