Cytat
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.

Nie bez powodu powstają nowe funkcje w interpreterze. Fakt, nie zawsze słusznie, ale duża większość tak.