title: Reading line by line from STDIN
body: <p>I want to do something like this:</p>
  
  <pre><code>$ [mysql query that produces many lines] | php parse_STDIN.php
  </code></pre>
  
  <p>In <code>parse_STDIN.php</code> file I want to be able to parse my data line by line from stdin.</p>