title: Include PHP file as string
body: <p>is it possible to make something like this?</p>
  
  <pre><code>// file.php
  $string = require('otherfile.php');
  echo $string;
  
  // otherfile.php
  &lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;&lt;title&gt;Test&lt;/title&gt;&lt;/head&gt;
  &lt;body&gt;
  &lt;?php require 'body.php';?&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  
  // body.php
  &lt;p&gt;Lorem ipsum something&lt;/p&gt;
  </code></pre>
  
  <p>And get this output?</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;&lt;title&gt;Test&lt;/title&gt;&lt;/head&gt;
  &lt;body&gt;
  &lt;p&gt;Lorem ipsum something&lt;/p&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I know that code won't work, but I hope you understand what I mean.</p>