Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113194 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 20470 invoked from network); 17 Feb 2021 17:54:26 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 17 Feb 2021 17:54:26 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id BE978180088 for ; Wed, 17 Feb 2021 09:41:28 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-io1-f54.google.com (mail-io1-f54.google.com [209.85.166.54]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 17 Feb 2021 09:41:28 -0800 (PST) Received: by mail-io1-f54.google.com with SMTP id u20so14719833iot.9 for ; Wed, 17 Feb 2021 09:41:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=benramsey.com; s=google; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=HpJEpq2MnH8pDU9WKxqbVzDemO9mPOAN9r9KjH+AWwA=; b=OYl+0v3ly2jENLfl93giqOB0AfV91o6EgU9qyuzt/gRNyI0iV7GXklvLDtpl533ALR MH4sgFGeRDYG8jouSrzwtZM7mujABkzz6V7mvjj1JUaebyOZ+zx1vba4xQOfkeQqmg/b 1NY60Lw1peQ+NMYdOlSCugKOCwlaN0ymyDDeJnsYekD9HI2npiCbbLyN5fXkGOp0Mjhd RlHTA7eNFpbkO6JbVVf/ttUkH94vk90wVRFUrGQVVm+0vVFEJdDpSAFESRcmL0SFbkMa O6ZmallOkEXMan63ZfXr0hJKjU9xu4cGypESBOrEwIUPi6e9/4Q0DzGai6vpBwQlRn6y keSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=HpJEpq2MnH8pDU9WKxqbVzDemO9mPOAN9r9KjH+AWwA=; b=FzczddrQN4jI0it+WMJTyc/6om4FiM2uxrNgcsSwFnYOrd6+tnsxmFzKaUXdxWbLi3 VcPNYLEuBDDBzPfC8ktpvrtXaNjXFc2VqYEewnUdi3CQT5vEgKvnJMc5zBxDQbUltH0s CTuu6pNKcg78micLKm7jvzCoZ4yywL3Rq91v7p/twY4wUGew91ULo690snZ2adXh2vB8 EShb1nI63WXMagr0icdfzog/8xBsC7B4gGg4VfPKxwSK9j9rhZTbz2s6+MCcyQZQ8zMd L899p6mKG5RQHbH3f0mNdC9RPk5OrF0RbqNwL5nXCf655Z0Ixz1LcQoD4/zxHFljYn5F ndjw== X-Gm-Message-State: AOAM533ibDjVQ2SPiOc/59kxLBIk/t+ni7/5kYUMJ5/2s8r5uTLFlMgO dg+DzIdLRck8FL+wPCE9OVpYQzI4slr1Jg== X-Google-Smtp-Source: ABdhPJwjA9mugbJODKXtVoR9Txkx6CNiyKabDcMwE0ZOmz6nKaqFJpobUnWobAw2mgK6t3oc5boVqw== X-Received: by 2002:a6b:ed02:: with SMTP id n2mr164739iog.80.1613583687278; Wed, 17 Feb 2021 09:41:27 -0800 (PST) Received: from [10.10.42.76] ([96.61.105.82]) by smtp.gmail.com with ESMTPSA id m4sm1406056ilc.53.2021.02.17.09.41.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Feb 2021 09:41:26 -0800 (PST) Content-Type: multipart/signed; boundary="Apple-Mail=_EBD3C5F1-6561-4BD3-ACA4-7CD895EE24FA"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Date: Wed, 17 Feb 2021 11:41:25 -0600 References: <488aad1e-6981-4dee-92f0-cd4128283162@www.fastmail.com> <6bfa34aa-e3e2-23f3-4b66-c051a259cd02@gmail.com> To: PHP internals In-Reply-To: Message-ID: X-Mailer: Apple Mail (2.3608.120.23.2.4) Subject: Re: [PHP-DEV] [VOTE] Enumerations From: ben@benramsey.com (Ben Ramsey) --Apple-Mail=_EBD3C5F1-6561-4BD3-ACA4-7CD895EE24FA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Feb 17, 2021, at 09:26, Chase Peeler wrote: >=20 > On Wed, Feb 17, 2021 at 10:09 AM Rowan Tommins = > wrote: >=20 >> On 17/02/2021 14:30, Larry Garfield wrote: >>> The Enum RFC has been approved. >>=20 >>=20 >> Thank you and Ilija so much for putting in the effort to make such a >> carefully thought-through proposal, and I'm really looking forward to >> being able to use it. >>=20 >> I realise not everyone agrees with the approach, but am hopeful that = it >> can be expanded on in future proposals to add a lot of power to the >> language. >>=20 >>=20 > Glad to see this passed. I definitely would have voted for it if I had = a > vote. The only thing I wish had been included was the ability to use = them > as array keys, but definitely don't think the lack of that would be a > reason to vote against it - especially since the possibility is still = open > in the future and adding it wouldn't cause any BC issues. There=E2=80=99s an RFC for that. ;-) https://wiki.php.net/rfc/object_keys_in_arrays Cheers, Ben --Apple-Mail=_EBD3C5F1-6561-4BD3-ACA4-7CD895EE24FA Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iHUEAREIAB0WIQToXQMR3fpbrPOmEOewLZeYnIwHGwUCYC1VRQAKCRCwLZeYnIwH G3wyAP9CHSetJ31l0l9XOE6ASckViqFwy6VssDDgI537R9a72AD+O762egfSVu6F Mc79RMl8RKy1A8eJxygZgpAZJeYK8dU= =//1t -----END PGP SIGNATURE----- --Apple-Mail=_EBD3C5F1-6561-4BD3-ACA4-7CD895EE24FA--