title: how to get stream length or caret position in php?
body: <p>That is count all data in a stream without bringing it all to a string. Or maybe doing it two step, that is bring caret to end and then get position ?</p>
  
  <p><a href="http://www.php.net/manual/en/ref.stream.php" rel="nofollow">http://www.php.net/manual/en/ref.stream.php</a> - I cant find any reference to caret position or size or length.</p>