Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15358 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1939 invoked by uid 1010); 10 Mar 2005 18:12:32 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 1924 invoked from network); 10 Mar 2005 18:12:32 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 10 Mar 2005 18:12:32 -0000 X-Host-Fingerprint: 64.233.184.193 wproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.184.193:33978] helo=wproxy.gmail.com) by pb1.pair.com (ecelerity HEAD r(5124)) with SMTP id A4/73-53294-01E80324 for ; Thu, 10 Mar 2005 13:12:32 -0500 Received: by wproxy.gmail.com with SMTP id 37so525862wra for ; Thu, 10 Mar 2005 10:12:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=avZPgiQq2dNp0oOgIacNfXdahYoWjkXIUIg6NrXY9kd8DVP2zsF871unJ21zASOjDcQsnl3p0N6hFhaNF7VJf9GPirF76nwHmRhfzY35w3ACXEcvQ9p3L3SUuBt9J0yR4zLhWfafZWqnRgY/RfsZR/B3Anr6Re5nWxCIUViEPZU= Received: by 10.54.54.16 with SMTP id c16mr609010wra; Thu, 10 Mar 2005 10:12:29 -0800 (PST) Received: by 10.54.44.57 with HTTP; Thu, 10 Mar 2005 10:12:29 -0800 (PST) Message-ID: <4e89b42605031010124c2a4092@mail.gmail.com> Date: Thu, 10 Mar 2005 13:12:29 -0500 Reply-To: Wez Furlong To: Stanislav Malyshev Cc: Zeev Suraski , PHP Development In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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> Subject: Re: [PHP-DEV] zend_stream_fixup From: kingwez@gmail.com (Wez Furlong) > 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.