> I agree, I think that the best solution would be to > - add support for replacing a stream with another (a similar function > for http://php.net/manual/en/function.stream-copy-to-stream.php or maybe > extending that), which would be available on all platforms, this would cover > my initial use-case. > - I think we should also provide the fileno functionality, because without > that, the php://fd is pretty useless. > - anything else, like dup2, fcntl should go to the dio or posix extension, > that would be useful for some people. > what do you think? > Tyrael
the fileno could be added to the http://php.net/manual/en/function.stream-get-meta-data.php this way we still kept it in the stream functions without introducing a new function for it. Tyrael -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php