Yes, you missed that a stream can be any stream from PHP land.
Which code in the engine does more than read/close?
Wez,
I think it's beyond looking into which code in the engine does more than read/close right now. It has to do with having infrastructure code that makes sense and can be relied upon - whether you build other engine code on top of that, or other extensions, close or open. And right now it appears our APIs are slightly broken, since by looking at the file handle type, you can no longer determine what you can do with it.
Can you explain what kind of things the promotion from a simple FP to a stream enables us to do?
Zeev
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php