Re: zend_stream_fixup

From: Date: Thu, 10 Mar 2005 17:59:58 +0000
Subject: Re: zend_stream_fixup
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-15357@lists.php.net to get a copy of this message
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 stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115

« previous php.internals (#15357) next »