title: PHP Check If require_once() Content Is Empty
body: <p>I am working on a PHP script which involves me including several external PHP scripts via the "require_once()" method. I would like to know if there is a way for the master script (the one including the others) to tell whether or not the <strong>processed output</strong> from included script has generated any content.</p>
  
  <p>So, for example, maybe the user's permissions for a particular script results in PHP not generating any output. So, maybe, the master script would echo something like:</p>
  
  <pre><code>                             Nothing interesting here!
  </code></pre>
  
  <p>Is there a way to do that in the master script, or would I need to create these tests inside of the included script, and return the results to the master script?</p>
  
  <p>Thank you for your time,<br>
  spryno724</p>