Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49813 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56823 invoked from network); 30 Sep 2010 14:36:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Sep 2010 14:36:21 -0000 Authentication-Results: pb1.pair.com header.from=glopes@nebm.ist.utl.pt; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=glopes@nebm.ist.utl.pt; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain nebm.ist.utl.pt from 193.136.128.21 cause and error) X-PHP-List-Original-Sender: glopes@nebm.ist.utl.pt X-Host-Fingerprint: 193.136.128.21 smtp1.ist.utl.pt Linux 2.6 Received: from [193.136.128.21] ([193.136.128.21:58474] helo=smtp1.ist.utl.pt) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 70/B2-43687-260A4AC4 for ; Thu, 30 Sep 2010 10:36:19 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp1.ist.utl.pt (Postfix) with ESMTP id B991B70003D9 for ; Thu, 30 Sep 2010 15:36:15 +0100 (WEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at ist.utl.pt Received: from smtp1.ist.utl.pt ([127.0.0.1]) by localhost (smtp1.ist.utl.pt [127.0.0.1]) (amavisd-new, port 10025) with LMTP id 8xUbR1nK+ww0 for ; Thu, 30 Sep 2010 15:36:15 +0100 (WEST) Received: from mail2.ist.utl.pt (mail2.ist.utl.pt [IPv6:2001:690:2100:1::c]) by smtp1.ist.utl.pt (Postfix) with ESMTP id 8286F70003D2 for ; Thu, 30 Sep 2010 15:36:15 +0100 (WEST) Received: from damnation (a79-168-249-157.cpe.netcabo.pt [79.168.249.157]) (Authenticated sender: ist155741) by mail2.ist.utl.pt (Postfix) with ESMTPSA id 63C622007998 for ; Thu, 30 Sep 2010 15:36:15 +0100 (WEST) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: internals@lists.php.net References: <1285856777.16846.95.camel@guybrush> Date: Thu, 30 Sep 2010 15:36:20 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable Organization: =?utf-8?Q?N=C3=BAcleo_de_Eng=2E_Biom=C3=A9di?= =?utf-8?Q?ca_do_IST?= Message-ID: In-Reply-To: <1285856777.16846.95.camel@guybrush> User-Agent: Opera Mail/10.62 (Win32) Subject: Re: [PHP-DEV] RFC: Comparable interface From: glopes@nebm.ist.utl.pt ("Gustavo Lopes") On Thu, 30 Sep 2010 15:26:17 +0100, Johannes Schl=C3=BCter = wrote: > On Thu, 2010-09-30 at 16:08 +0200, Kalle Sommer Nielsen wrote: >> I think its a great addition, but I think the interface should be >> defined within ZE like the other base interfaces that interact >> directly with the language syntax (like Iterator) and not in SPL. > > s/should/has to/ > > The engine shall not depend on anthing in PHP. In theory you should be= > able to do cd Zend && ./buildconf && ./configure && make to built a > PHP-less engine (needs TSRM somewhere though). > Right. Saying this is the way the Countable interface is implemented lik= e = is said in the RFC is not really a valid argument, since the engine know= s = nothing about that interface, only the "count" function (which is in the= = standard extension) does. -- = Gustavo Lopes