php read file into variable
$content = file_get_contents(home.html);
Otherwise if you want to get the source code of the PHP file, it's the same as a .txt file:
$content = file_get_contents('/path/to/phpfile.php');
You can also get from URLs:
$content = file_get_contents('http://someurl.com/file.txt');
php, variablephp, variable, content, file_get_contents, html, txt, phpfile, urls, http, someurl,