WF>>> needs it's own type. Why it can't just handle all file_handle types just
WF>>> like any other functions do. I would understand if there were ten function
WF>>> like this - but so far we have one.
WF>>
WF>>You have all the different things that php streams provides as well,
WF>>which is why those functions exist.

No, you have not! That's whole point - you can not use STREAM handle as 
PHP stream, because handle there may be FILE * or php_stream * - and you 
have no way to know which it is!

WF>>Right, and that causes the ZE to have a circular dep on PHP, which is
WF>>something that Zend didn't want in the past.

How is that? I don't see any dependency on PHP that converting FP to 
STREAM removes. Explain me, if I remove that conversion and put instead 
an if into zend_stream_read that would do the same thing - how it 
suddently would become dependant on PHP?

-- 
Stanislav Malyshev, Zend Products Engineer   
[EMAIL PROTECTED]  http://www.zend.com/ +972-3-6139665 ext.115

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to