Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67662 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59024 invoked from network); 8 Jun 2013 22:39:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jun 2013 22:39:08 -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.171 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.214.171 mail-ob0-f171.google.com Received: from [209.85.214.171] ([209.85.214.171:43007] helo=mail-ob0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1C/72-44812-C82B3B15 for ; Sat, 08 Jun 2013 18:39:08 -0400 Received: by mail-ob0-f171.google.com with SMTP id dn14so8373521obc.30 for ; Sat, 08 Jun 2013 15:39:05 -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=KJ5cxXS3pGWWlc8OTXbOuC5DeNuKe1IL2OmzD8QDpS8=; b=rLYRLwrLqamY5Ze7huVTSqzyKTXowGnB4h0Kc9KMjganFvyYWH9uk1qBhIXBYMVZRu OD6DjfhF4+wp7c5933hegXRSZxAFWrUTM3a3aCAXC+pNQpGLeQ5SE5Gb3CJY5tYGxlsp UBiJ/nrSoX61/tzwHR8iBwUvztDCRgKXtDj76kYba41Ihsg+KULU8lirlmibgPLCgw44 d9xDgT1vRXcTv3gMnRI1g/kLAULJpKTvC8sqzDfO446R+q/ol9jtBZxBd4h117e1jUsT pcJqcdAkoWE2xKFm9qeevHFiD11JAaSufLA1AfTnl8WHVp46f/AX0ubYa6EJ2XgJWjqf MRCg== MIME-Version: 1.0 X-Received: by 10.60.95.193 with SMTP id dm1mr3227770oeb.127.1370731145671; Sat, 08 Jun 2013 15:39:05 -0700 (PDT) Received: by 10.182.97.228 with HTTP; Sat, 8 Jun 2013 15:39:05 -0700 (PDT) In-Reply-To: <51B38AB6.8060809@sugarcrm.com> References: <51B22397.2050709@sugarcrm.com> <51B38AB6.8060809@sugarcrm.com> Date: Sun, 9 Jun 2013 00:39:05 +0200 Message-ID: To: Stas Malyshev Cc: PHP internals Content-Type: multipart/alternative; boundary=089e0117774b05848304deac370f Subject: Re: [PHP-DEV] [RFC] Internal operator overloading and GMP improvements From: nikita.ppv@gmail.com (Nikita Popov) --089e0117774b05848304deac370f Content-Type: text/plain; charset=ISO-8859-1 On Sat, Jun 8, 2013 at 9:49 PM, Stas Malyshev wrote: > Hi! > > > My main interest here is improving the usability of GMP - the operator > > overloading is just a means to that goal. With that in mind, I think it > > I understand that, but operator overloading is not the GMP-only change. > It is a change deep in the core of the engine, and as such should be > considered as generic engine change. If you did it confined to GMP > module, it would be different. > > > makes little sense to land just the addition of overloading, but leave > > the GMP changes out. That's why I'm doing them both in one :) Hope that > > makes some sense ^^ > > I'm sorry, but I disagree. GMP is one thing, and big core changes - > introducing operator overloading - is another. GMP refactoring by itself > is rather narrow thing, most PHP users don't even use GMP and don't need > it. However, introducing operator overloading for objects in PHP is a > huge thing with big implications for the future. > Not disagreeing with any of that, but I don't really understand how splitting one document into two changes anything about what you say. What would make sense though is having two separate votes for the two parts. Would that be sufficient for you? Thanks, Nikita --089e0117774b05848304deac370f--