Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67665 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4821 invoked from network); 9 Jun 2013 13:37:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jun 2013 13:37:39 -0000 Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain zend.com from 209.85.215.45 cause and error) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 209.85.215.45 mail-la0-f45.google.com Received: from [209.85.215.45] ([209.85.215.45:48558] helo=mail-la0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3D/01-30264-22584B15 for ; Sun, 09 Jun 2013 09:37:39 -0400 Received: by mail-la0-f45.google.com with SMTP id fr10so4991585lab.18 for ; Sun, 09 Jun 2013 06:37:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:references:in-reply-to:mime-version:x-mailer:thread-index:date :message-id:subject:to:cc:content-type:x-gm-message-state; bh=K0zpKda90XG4CCDBaQ5NOG7yh8lAVGbdubEFF4DRsgc=; b=W+6oAx3z6QHIo3A2xeFfk/Yx9nMdMtnZKeP+eszFrFntuvSHh165RwVGiwH0fGjAag MbTDqUhcaLDIweEI376YVe7Orgh96Ows9ZkxHpb/4LCWRF2anmkccZ1esU2gCsOzbV5F FmGsPiJsH5aKVr2K+YrALFnmT39EmeFxZ6pwCfLTEQksmg2sYz92DRQwYOu6KIkFpnrv 6n6ufJB/xrn44iHkBHfjdypydbInKkrLQbm4yQ5k25142sFou2O2LMpvj5tanHWCkEUG 1v5YpROCEsmdxpZnfPci7EHHlpogTwai3IiZY1WlYv9A8A7TEB2HIo/IpDIQ8tDE7gCZ sgPw== X-Received: by 10.112.151.5 with SMTP id um5mr4576326lbb.86.1370785054927; Sun, 09 Jun 2013 06:37:34 -0700 (PDT) References: <056e6e6464af1227f4238a50f562bc29@mail.gmail.com> In-Reply-To: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJbRrTwu75xlJaupAGVjny9GR4KPgIHESCtAXBChYUBvMxDrwEtlwtYArRtSGkCFRs9mQG+KBpdAz9tlb8CCKvR4QEPaE7cAkfUr7MCYWcKaQFKc6R9Amx5N8mXNpTIsA== Date: Sun, 9 Jun 2013 16:37:33 +0300 Message-ID: <9e7fd04d05a632a38dd306d056eae6e8@mail.gmail.com> To: Nikita Popov Cc: PHP internals Content-Type: multipart/alternative; boundary=047d7b3a80e4436a4b04deb8c4c8 X-Gm-Message-State: ALoCoQnoES6Yoei+XIXqCk0YD/NRp7+cEjh6N4aJciQ1oYXIdYoQa/cL//ORUB8PNT/1EqC0Fmr0FR1lRHJDIKte8UEl8BGQE2+nIRjoWppQdz8trK0Nt+R43/kqpKaNK8DlM2Zu0tWB Subject: RE: [PHP-DEV] [RFC] Internal operator overloading and GMP improvements From: zeev@zend.com (Zeev Suraski) --047d7b3a80e4436a4b04deb8c4c8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable What I meant by cumulativity in that context is really commutativity J Fixed (and also added transitivity). In other words, operands that are commutative in PHP (like addition, multiplication, etc.) =E2=80=93 one should not overload for domains where t= hey=E2=80=99re not commutative. Zeev *From:* Nikita Popov [mailto:nikita.ppv@gmail.com] *Sent:* Sunday, June 09, 2013 4:20 PM *To:* Zeev Suraski *Cc:* PHP internals *Subject:* Re: [PHP-DEV] [RFC] Internal operator overloading and GMP improvements On Sun, Jun 9, 2013 at 10:00 AM, Zeev Suraski wrote: It wouldn=E2=80=99t have been the first time that something that seems comm= on sense, suddenly becomes controversial a few years later J Better safe than sorry. I made some changes to the phrasing of the final paragraph in this section (please review and make sure you=E2=80=99re good with it) =E2=80=93 I think= the list you added is great. Looks good. One question though, what do you mean by "cumulativity" in that context? Nikita --047d7b3a80e4436a4b04deb8c4c8--