Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88343 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89019 invoked from network); 18 Sep 2015 17:21:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Sep 2015 17:21:13 -0000 Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.54 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.213.54 mail-vk0-f54.google.com Received: from [209.85.213.54] ([209.85.213.54:33276] helo=mail-vk0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3D/85-60254-9084CF55 for ; Fri, 18 Sep 2015 13:21:13 -0400 Received: by vkgd64 with SMTP id d64so34027877vkg.0 for ; Fri, 18 Sep 2015 10:21:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=cCaEJEi7Rt+JCoknm3QOmnaEZHnMtGQg6jaajN2FUO8=; b=VLuZgOX1VjfhtpyZ1sPlGy03wqZG96hzGHw706pStC0FIkz0LZZ1v4M63TyYeOzkro ImNoxKeB65M6HAseho2Kn4hEPj+AFUjUIwuaF9vC5rhGw2Y5jmAF2jqwhFRKlsdFq+Qs Wh7T9PyQnk4TMWWrUooIm2Myw6iCbfN9WeO2puqLIe77MmKkZfzEAZ0iRsC7rc8VcwZf B+kgM2QZqKzoSDs3X/Vxuo5H0oAlc/l2RKQLzkFauXjujOKK2hiMg8bveU8FJCaNEgRY tm9P7kUNKWX3CKDY5buqUZjS5U85/YQOW534tMXzJZFEwZ9MCZim9KS/RMZHKdX6Ibj7 SZvw== MIME-Version: 1.0 X-Received: by 10.31.8.19 with SMTP id 19mr3800081vki.16.1442596870685; Fri, 18 Sep 2015 10:21:10 -0700 (PDT) Sender: morrison.levi@gmail.com Received: by 10.31.41.205 with HTTP; Fri, 18 Sep 2015 10:21:10 -0700 (PDT) In-Reply-To: <55FC476B.6020201@gmail.com> References: <55FB4791.4040807@gmail.com> <55FC34E6.8020009@gmail.com> <55FC476B.6020201@gmail.com> Date: Fri, 18 Sep 2015 11:21:10 -0600 X-Google-Sender-Auth: c-bxs1rTjybjSEvCqaHCct80HDY Message-ID: To: Rowan Collins Cc: internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Let's discuss enums! From: levim@php.net (Levi Morrison) On Fri, Sep 18, 2015 at 11:18 AM, Rowan Collins w= rote: > Levi Morrison wrote on 18/09/2015 18:04: >> >> Anything else is trying to add value in some way =E2=80=93 in your case = you >> are adding a primitive value that the language will automatically map >> for you. I'm not saying that is a bad thing but I hope you can at >> least recognize that it is an addition and not the bare minimum. The >> RFC I am planning on proposing will have only the bare minimum because >> it's the least controversial part and is the most useful. The other >> stuff we can debate about later. > > > That's why I was kind of surprised to see ordinal() in there in the draft= - > it's an additional field on each member, which in many cases has no > relationship to the value being represented. I suspect it will be removed before hitting the official discussion phase := D > Also, apologies for accidentally starting the discussion of your draft "t= oo > early", I wasn't aware that you were working on it. I was trying to offer > something productive to the language, since I've been spending a lot of t= ime > talking down new features lately. :) No worries =E2=80=93 it happens.