Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67663 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87939 invoked from network); 9 Jun 2013 08:00:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jun 2013 08:00:47 -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.44 cause and error) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 209.85.215.44 mail-la0-f44.google.com Received: from [209.85.215.44] ([209.85.215.44:37014] helo=mail-la0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 12/30-19712-D2634B15 for ; Sun, 09 Jun 2013 04:00:46 -0400 Received: by mail-la0-f44.google.com with SMTP id er20so4862847lab.3 for ; Sun, 09 Jun 2013 01:00:42 -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=7d/v3S3L9ykUWXQuD3tpUHe+i8K7c4vjU4wvlNOr+JI=; b=TFZAxkwXLX4v4fQMigy0OZ9n57f48tJSbROl2KvSN1FzAV6cruoe1D0zSbbIjlM7b0 7DrTYObfO8VOPjWgW7RfZlu6wJEFdgCsSyQN58eO79zx//x82L3mwdlwMTnpI8Tn7gII aezthhG5zSQRvhGQggmbfWWEXEv9et9NZ1UtewCg1LjJDxrxRRNpg1hTdpnWdniSuvDY Hj29dXsga0yGE8y3ZCam9niMDdb93ov1WgZBDyDc0LuqtIozXdxmMgs6M1jigpWsgMn/ yH7P8Yf/eNkn0RNbNQ1u37J/+h9sCK87pvyuiptq9eL+7lu6eAUrGAUNAVayN4q/DwR8 RyFw== X-Received: by 10.152.8.72 with SMTP id p8mr2619516laa.70.1370764842090; Sun, 09 Jun 2013 01:00:42 -0700 (PDT) References: In-Reply-To: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJbRrTwu75xlJaupAGVjny9GR4KPgIHESCtAXBChYUBvMxDrwEtlwtYArRtSGkCFRs9mQG+KBpdAz9tlb8CCKvR4QEPaE7cAkfUr7MCYWcKaZdT76ig Date: Sun, 9 Jun 2013 11:00:41 +0300 Message-ID: <056e6e6464af1227f4238a50f562bc29@mail.gmail.com> To: Nikita Popov Cc: Dmitry Stogov , PHP internals Content-Type: multipart/alternative; boundary=001a11c365b87bd7bd04deb40f23 X-Gm-Message-State: ALoCoQmZHuBnfr9yVJCiQy5DTDQS7EQLG6s8pPueVzWUWm1zH7zH4Zizy9zFV/2pTWsQgV5DtgLD/tgqFCY5DYezeEbj9x9vTbswhVNAzM2rP/UsYgJ9qygvKYbPfiuUH5XKjzY1v3y6 Subject: RE: [PHP-DEV] [RFC] Internal operator overloading and GMP improvements From: zeev@zend.com (Zeev Suraski) --001a11c365b87bd7bd04deb40f23 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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. Thanks, Zeev *From:* Nikita Popov [mailto:nikita.ppv@gmail.com] *Sent:* Saturday, June 08, 2013 3:54 PM *To:* Zeev Suraski *Cc:* Dmitry Stogov; PHP internals *Subject:* Re: [PHP-DEV] [RFC] Internal operator overloading and GMP improvements On Fri, Jun 7, 2013 at 9:45 PM, Zeev Suraski wrote: I would add that the purpose of this feature would be exclusive to extensions that implement mathematical concepts, where the operators are well defined. In other words, arbitrary precision math, vectors, matrices, etc. - yes; Incrementing or decrementing a picture object to change the white balance - no. This seems like common sense... But just to be sure I added a note (and your example) at the end of the https://wiki.php.net/rfc/operator_overloading_gmp#applications_of_operator_= overloadingsection :) Nikita --001a11c365b87bd7bd04deb40f23--