Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15359 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6214 invoked by uid 1010); 10 Mar 2005 18:16:44 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 5771 invoked from network); 10 Mar 2005 18:16:33 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 10 Mar 2005 18:16:33 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:33496] helo=mail.zend.com) by pb1.pair.com (ecelerity HEAD r(5124)) with SMTP id 9C/A3-53294-EDE80324 for ; Thu, 10 Mar 2005 13:15:59 -0500 Received: (qmail 24900 invoked from network); 10 Mar 2005 18:15:55 -0000 Received: from shire.zend.office (10.1.2.160) by internal.zend.office with SMTP; 10 Mar 2005 18:15:55 -0000 Date: Thu, 10 Mar 2005 20:15:55 +0200 (IST) X-X-Sender: frodo@shire.zend.office To: Wez Furlong cc: Zeev Suraski , PHP Development In-Reply-To: <4e89b42605031010124c2a4092@mail.gmail.com> Message-ID: References: <4e89b42605030907315a85ce74@mail.gmail.com> <4e89b426050309075047ce556c@mail.gmail.com> <5.1.0.14.2.20050310154031.0678e880@localhost> <787679020.20050310152340@marcus-boerger.de> <4e89b42605031007587e28c846@mail.gmail.com> <4e89b42605031010124c2a4092@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] zend_stream_fixup From: stas@zend.com (Stanislav Malyshev) 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 stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115