Include PHP file as string
file.php
ob_start();
include 'otherfile.php';
$string = ob_get_clean();
$string = file_get_contents('otherfile.php',TRUE);
echo $string
Use of the TRUE argument for file_get_contents() means it will search using the include path, like a normal include or require