title: PHP get output stream or just echo
body: <p>What would be the differnce in php command line app of just echoing or printf etc some string as opposed to getting sdtout stream and writing to it i.e.</p>
  
  <pre><code>$stdout = fopen('php://stdout', 'w');
  </code></pre>