Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21908 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81182 invoked by uid 1010); 17 Feb 2006 23:24:57 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 81166 invoked from network); 17 Feb 2006 23:24:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Feb 2006 23:24:57 -0000 X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:39059] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id D3/A2-61406-84B56F34 for ; Fri, 17 Feb 2006 18:24:56 -0500 Received: from [192.168.1.3] (dslb-084-063-013-081.pools.arcor-ip.net [84.63.13.81]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id 8DEE035C1DD; Sat, 18 Feb 2006 00:24:52 +0100 (CET) Date: Sat, 18 Feb 2006 00:24:55 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <796153012.20060218002455@marcus-boerger.de> To: Zeev Suraski Cc: Stefan Walk , Sara Golemon , , Andi Gutmans In-Reply-To: <7.0.1.0.2.20060217130522.083f7c40@zend.com> References: <002201c6331d$a79473b0$58d01a44@stumpy> <7.0.1.0.2.20060216192615.099c9598@zend.com> <000901c63322$20b5d550$5c8be5a9@ohr.berkeley.edu> <7.0.1.0.2.20060217005156.0b12d660@zend.com> <4858f9d90602170155v6843bb5ew@mail.gmail.com> <7.0.1.0.2.20060217130522.083f7c40@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: Minor engine patch to facilitate PECL/operator From: helly@php.net (Marcus Boerger) Hello Zeev, Friday, February 17, 2006, 12:09:26 PM, you wrote: > At 11:55 17/02/2006, Stefan Walk wrote: >>On 16/02/06, Zeev Suraski wrote: >> > In languages where operator overloading is supported, it comes hand >> > in hand with strict typing, which wouldn't allow for different values >> > for x>y and y> > >> > Zeev >> >>That's not true, Ruby for example has operator overloading, and has no >>problems with different meanings of x>y and y>core class that does that). > I mean *real* languages :) Seriously though, it sounds like a bad > idea to allow it. >>Also, PHP already breaks the transitivity rule for the equality >>operator ($a == $b and $b == $c does not imply $a == $c), so there's >>not much new evil if a user can, by loading an extension, break the >>symmetry of the comparison operators, IMO. > Oh I disagree. While we do have some unique cases in which > transitivity is not maintained, they are quite, well, unique, and > arguably make sense. > More importantly, the discussion here is not about transitivity > (although it does have transitivity implications). It's more > fundamental, it's about the very meaning of smaller-than / > greater-than and the relationship between them. Actually Sara only asked whether she could add a flag to some handlers. That has nothing to with anything you started to discuss from there. Best regards, Marcus