WF>>_FP means that it is a plain file handle, which cannot be used with
WF>>the zend_stream functions as-is, STREAM means that the zend_stream
WF>>functions can work.

That I understand. What I do not understand is why this single function 
needs it's own type. Why it can't just handle all file_handle types just 
like any other functions do. I would understand if there were ten function 
like this - but so far we have one.

WF>>Look, if you need to stat the damned thing, why not just add a stat
WF>>method to zend_streams.c ?

Because stat is not the only thing it is needed and because I think it's 
wrong way to do things. I think the right way is for STREAM to be 
php_stream and for FP to be FP.
-- 
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