It seems that PHP's streams aren't used much, but they appear to be very powerful. Does anyone have an example of implementing a stream to do something that would be clunky otherwise?
I don't mean doing stuff like file_get_contents('http://google.com');
, I mean implementing your own streams.