Re: zend_stream_fixup

From: Date: Thu, 10 Mar 2005 18:12:29 +0000
Subject: Re: zend_stream_fixup
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-15358@lists.php.net to get a copy of this message
> 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. You have all the different things that php streams provides as well, which is why those functions exist. > 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. Right, and that causes the ZE to have a circular dep on PHP, which is something that Zend didn't want in the past. --Wez.

« previous php.internals (#15358) next »