Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67658 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17645 invoked from network); 8 Jun 2013 12:53:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jun 2013 12:53:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.182 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.214.182 mail-ob0-f182.google.com Received: from [209.85.214.182] ([209.85.214.182:52423] helo=mail-ob0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 24/70-14687-56923B15 for ; Sat, 08 Jun 2013 08:53:58 -0400 Received: by mail-ob0-f182.google.com with SMTP id va7so7815000obc.41 for ; Sat, 08 Jun 2013 05:53:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=cxV7XXZjlyrklFW5iCoiigopUZj3gw1Xg/1XH4ELxL4=; b=fKlRX/GJ0/P+48EJc3uR/7A5gTQHStcQu4F4o6d1eM+ry2jMXm7cuZmAhXXGvgRODP S6vkGQr9F4aaWLT9v4Nwzq1w6/ag8am2fpwM8zop7By+6TUTI8sJXDU8jl1YSRq7xh2Y 7WwP4nvrKq9kIENFffvqeb2mfC/g7/GqS1FQrl0G8uXBJgerLgaL87YAESM14tbNcE4W Bw94tDRS3ZJ9PWwMcpN+ipq3OH9Wx7/u713vEX7M7PBnQv0eEDu0Q0PmeMc5tdRxA/ky rphLpMaq8cGbUAVfoR/nh6LfepCrv7UvCnRAoLsgj+VG9zOFVGzpJm1Ms0fniMGl/r1f cIjw== MIME-Version: 1.0 X-Received: by 10.60.38.10 with SMTP id c10mr1248590oek.58.1370696034909; Sat, 08 Jun 2013 05:53:54 -0700 (PDT) Received: by 10.182.97.228 with HTTP; Sat, 8 Jun 2013 05:53:54 -0700 (PDT) In-Reply-To: References: Date: Sat, 8 Jun 2013 14:53:54 +0200 Message-ID: To: Zeev Suraski Cc: Dmitry Stogov , PHP internals Content-Type: multipart/alternative; boundary=089e013a1b6841891504dea40ab1 Subject: Re: [PHP-DEV] [RFC] Internal operator overloading and GMP improvements From: nikita.ppv@gmail.com (Nikita Popov) --089e013a1b6841891504dea40ab1 Content-Type: text/plain; charset=ISO-8859-1 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 --089e013a1b6841891504dea40ab1--