How to Read a file in PHP

Reading a whole file is as easy as one function call in PHP. (Especially good if you want to read a small file, and want all the data in memory anyway).

<?php
echo file_get_contents("read.php");