Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113196 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 23470 invoked from network); 17 Feb 2021 18:04:54 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 17 Feb 2021 18:04:54 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 63C501804F2 for ; Wed, 17 Feb 2021 09:51:57 -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-il1-f173.google.com (mail-il1-f173.google.com [209.85.166.173]) (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:51:56 -0800 (PST) Received: by mail-il1-f173.google.com with SMTP id e2so4903114ilu.0 for ; Wed, 17 Feb 2021 09:51:56 -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=HXT09kAG4b9iIR+yf4Tx76lyUfyU7DdE/vt1mC0m8ic=; b=hz1rjc2KekUefv85/8+01KfwW7nX6bshB/x8WiqNWaDUxorlMxNegGTHCVoFOYZMbw ybTCli6gyZ/i3Ei+wkC1V9bZvrNLX7TbktMZu9QCSS8OQ5oAH1nJl2EdYqwMG1NwBhsT o1Cq6DCK4rEeTJPlk0yp2qJsVbZio5ybsPdMXo4aOF06KAcbHyZHKL6GDokzvsvwxE2O qBYQUY0mqFFYrT1i/saE5K2K/PLcANUTO2nddJp5euIOPqiCJ8ThAKzWblsoMMoWlDda owpl7DRQw6NWttqpNeaOg3DIyI7h2NTB8LqfmakUEfKCyGp1gqZHSXJFXXNjaeK8HmzW d3IQ== 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=HXT09kAG4b9iIR+yf4Tx76lyUfyU7DdE/vt1mC0m8ic=; b=WxPCDc22X2TZOxBS4/P/y3x5wnUrA4alCbErVL5RIxVL9V3RBxkGauESyqIp4GDgDa QTt540QoosAiMRS5J6bIyTeWKvuQcMQgwyjiX3RjDOqZj+FXpLw+izVwQwoHYc4FLLQM b1fVGnmzsOPXrkhlbILL+5+YNK6i1MvavSX50iOaWjZqsawXSc+y+BzhdZD0j97G/UOb HyHUFojQPNiajx2sWYh6e4cNlJyGVOqcHCyuD0USw2wZn2FDNTm3Xqr9o3WWLCYO7WIw lRosVoTLiduyIVt0Tdf9UpM/q+9raaEpqdhL5BvoXfYuGBcKWAw3CXSs6j65OLxwOTWT q6gg== X-Gm-Message-State: AOAM533ZCPHPS18qUj5oroS1DdQuqx/T3DFeWxfwF2vNzEKv/FUEgUX+ 3KTUnqB33j9F8Gor8+JLT8oRGCOoxuVlGA== X-Google-Smtp-Source: ABdhPJzipPq1FF3+bt/QOFwZALjBf/M3UgPt/Em6YZCue0DktZ36eRvdD4L8TArYj3ACOSYQ4/km4Q== X-Received: by 2002:a92:ab10:: with SMTP id v16mr231540ilh.100.1613584312973; Wed, 17 Feb 2021 09:51:52 -0800 (PST) Received: from [10.10.42.76] ([96.61.105.82]) by smtp.gmail.com with ESMTPSA id j1sm1350952ilu.78.2021.02.17.09.51.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Feb 2021 09:51:52 -0800 (PST) Content-Type: multipart/signed; boundary="Apple-Mail=_4CE00B6B-43D8-42C6-8ABE-17BEB6E1E3BB"; 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:51:51 -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: <43C6BC44-6A9F-4645-8307-31971ED8357D@benramsey.com> X-Mailer: Apple Mail (2.3608.120.23.2.4) Subject: Re: [PHP-DEV] [VOTE] Enumerations From: ben@benramsey.com (Ben Ramsey) --Apple-Mail=_4CE00B6B-43D8-42C6-8ABE-17BEB6E1E3BB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Feb 17, 2021, at 11:48, Chase Peeler wrote: >=20 > If that were to not pass, though, it seems supporting enum cases as = keys would be worth exploring. Fully support allowing all objects as = keys though. Others, please correct me if I=E2=80=99m wrong, but I believe each enum = case is already an object. Cheers, Ben --Apple-Mail=_4CE00B6B-43D8-42C6-8ABE-17BEB6E1E3BB 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----- iHUEAREIAB0WIQToXQMR3fpbrPOmEOewLZeYnIwHGwUCYC1XtwAKCRCwLZeYnIwH G7f3AQCKD2gRmH6hXFgqUdY7Gt6K1LzHUQvAbrFj+cv/biOtCAD/TVQRLBif++bG tKXbhq0wvvsC/A9CuzTv+K7t7kGmH6A= =pOXu -----END PGP SIGNATURE----- --Apple-Mail=_4CE00B6B-43D8-42C6-8ABE-17BEB6E1E3BB--