title: PHP StdErr after Exec()
body: <p>In PHP I am executing a command with exec(), and it returns if successful an URL;</p>
  
  <pre><code>$url = exec('report');
  </code></pre>
  
  <p>However, I want to check stderr, if something went wrong. How would I read the stream?
  I want to use php://stderr, but I am not sure how to use it.</p>