title: PHP: Suppress output within a function?
body: <p>What is the simplest way to suppress any output a function might produce? Say I have this:</p>
  
  <pre><code>function testFunc() {
      echo 'Testing';
      return true;
  }
  </code></pre>
  
  <p>And I want to call testFunc() and get its return value without "Testing" showing up in the page. Assuming this would be in the context of other code that <em>does</em> output other things, is there a good method for doing this? Maybe messing with the output buffer?</p>