Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70686 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42297 invoked from network); 17 Dec 2013 00:11:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Dec 2013 00:11:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.178 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.178 mail-we0-f178.google.com Received: from [74.125.82.178] ([74.125.82.178:61102] helo=mail-we0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 76/93-32483-7C69FA25 for ; Mon, 16 Dec 2013 19:11:52 -0500 Received: by mail-we0-f178.google.com with SMTP id u57so5408154wes.9 for ; Mon, 16 Dec 2013 16:11:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=8pfgjjpP0Ovl012f9c6CqnQf2eze+D0C2mnh8uYEU3k=; b=IC6aapzhg8+0b9OhR5byPmqEzURbcqn5xsO246GSQnanYRHXHu+nXpBOL3GnjYxEa/ 2YAPkydAuoP4LP2pxm68+B9M29CS6A8K6r9Nquz9HDAhJgT66bl3IUtkEOKno/0TYoxY s3IzzokZRRd9CZxI/p17jaqm6wja5rl3CExiTlyuJyjDBh8qieybyq1tqhMFjfn7iCD9 pDKAYCm/7KXn+9lRy2QhSFySuuZUjHpsejYSKEEGxiZ0+MpmVSXZdOTUYkc0J/Eutu82 C1aIkAuu8mlq1Shha8AR3Co2+yUsUgSMHcSuFvzkNGLg+mSY4e0mSwa+FRHe93zIR5Y5 ohJw== X-Received: by 10.180.90.37 with SMTP id bt5mr404639wib.43.1387239109081; Mon, 16 Dec 2013 16:11:49 -0800 (PST) Received: from [192.168.0.2] (cpc19-brig17-2-0-cust25.3-3.cable.virginm.net. [81.101.201.26]) by mx.google.com with ESMTPSA id md9sm2582594wic.1.2013.12.16.16.11.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Dec 2013 16:11:48 -0800 (PST) Message-ID: <52AF96B8.2090009@gmail.com> Date: Tue, 17 Dec 2013 00:11:36 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: PHP Internals References: <52AA1649.2090601@ajf.me> <52AAA1EA.7030106@marc-bennewitz.de> <52AF45CC.10604@gmail.com> <52AF8E29.3020400@ajf.me> In-Reply-To: <52AF8E29.3020400@ajf.me> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [PROPOSAL] Alphanumeric decrement From: rowan.collins@gmail.com (Rowan Collins) On 16/12/2013 23:35, Andrea Faulds wrote: > > > On 16/12/13 23:33, Tjerk Meesters wrote: >> >> I would love to completely eradicate it, but I also realize that there's >> existing code using it, such as: >> > > Before writing the -- support patch, I wrote a patch to remove ++ > support. There were a few tests that relied on the feature which > required rewriting, so I'm quite worried about what'd happen if we > removed it. Maybe in 6.0? > Genuine question: what is the actual case for removing the current operator in favour of a function? Is it to make a clearer separation between string and numeric operations? Or that it feels like a function should have been created rather than overloading the operator in the first place? Regardless of deprecation period, this is one of those things that is quite hard to track down - you can't just grep your codebase for instances like you can with a function being removed. Regards, -- Rowan Collins [IMSoP]