Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126139 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 9033F1A00BD for ; Thu, 19 Dec 2024 17:11:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1734628135; bh=ksCSQ2HtDvGfps4GRPAtYKedOjrF7ie7Lm/Ywp7P8nc=; h=Date:To:From:Subject:From; b=IybcRgsT3DKCCgtdBb5Da4Eie9NOA00edPSNzWtt83eB4gQuDssAgjjic1NkA0KgK iS2NnJyGMCLc91BUZ1GsbpNakRe56kRPmiI/vePWNPhiPMEhLX3pm5V3Vs0u1PaZce Wp5Vmp13kKxD4qHsko0OCNRJsoH8N5Ls2bnY+uJMlOGyvuxhI1DaWZO5KCqiuw5uIf jo6OjB2ByEEfZ4OD9C1VnqaL1yx/eH+WOU/1aW/OotIG//1s03dGgYwnhSrpDKtb/+ J+IuqaMC0JSKu9CYaWawHPF2Zy5E+9CCwHTw/+gkKz5wVJEYVp3wp9kphIgm4luM2p DbjDK6dAeHlhw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 83E8418003F for ; Thu, 19 Dec 2024 17:08:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_50,DKIM_INVALID, DKIM_SIGNED,DMARC_MISSING,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS, URIBL_SBL_A autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from wp160.webpack.hosteurope.de (wp160.webpack.hosteurope.de [80.237.132.167]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 19 Dec 2024 17:08:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mabe.berlin ; s=he194859; h=Content-Type:Subject:From:To:MIME-Version:Date:Message-ID: From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:In-Reply-To: References; bh=ksCSQ2HtDvGfps4GRPAtYKedOjrF7ie7Lm/Ywp7P8nc=; t=1734628317; x=1735060317; b=hYnJw3UB7BDepkwYKFHZ8HnjifpIabvDfv+ETapounmpE7g2yYvok7iEEz4Ln pRrW/JkGciZg5vM0Mm5FXDFHWHBVKI8qC36WYAx11veEX9tt7rWJTnTbqI2kzmw0v5kRN6GrgZ4gK wzsPOU01vfTXr+Qrt0M/ikDlCpKNr0Tk1650gSg9hRUKFQZhiz/diNY14zBNWsjrc2V4LzGY9hcft tJidouMPf0gzcEXEVmaDirZ+Ia+kQvgDdtkJDH7wDQPUz0jfPMbjOfW/Hyj3C4uiB9uFPwZGlcvEV kMoA1c1VR1LLesdmWrdJ+sUvH0GXZYT0bL/+coRh61uE/6K3fA==; Received: from p50971d2e.dip0.t-ipconnect.de ([80.151.29.46] helo=[192.168.3.113]); authenticated by wp160.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) id 1tOK42-00FQ3e-1x; Thu, 19 Dec 2024 18:11:54 +0100 Message-ID: Date: Thu, 19 Dec 2024 18:11:54 +0100 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: internals@lists.php.net Content-Language: en-US Subject: [PHP-DEV] Idea: Inline enum Autocrypt: addr=marc@mabe.berlin; keydata= xsBNBFby8roBCAD4qHjbk9+V3SmB5DfpkTtX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PBcxus0wGoKf8Nun y2aE13SHmj0ioBI1bXMGJx3hEbvzXK6WrwARAQABwsBfBBgBAgAJBQJW8vK6AhsMAAoJEDk2 q/dTvIjOkowIAI70P8U4j3eqyK/7x1bnCZZRcpwZ1aH+LR1yMKTINo9NDqlOBWQTLT69YMfV 4UN+nTSiD/uLw1fSeLSzBwpoalCMLPVOX/d3Mq5JtL5cKtWUTIVf3Vb7VbN4Rvb8HgWjeSnM 1PiG9yQBmLKI68sG/gdgvA/xANdUatkDgG0yj8PCdt+Vy4EblXbIAXZXJ6eRugSKowTjst7i HXKOJxivomHFcmqmkiqjwGTGx/jrhbDtEpPDRk+U9W45D4CbUcyPR6lMSrje5JPGQDv/45M5 wPe286YelBjnb0cWRJpA7GZCWDKZOsQ2H6cCRBi8i4m+vfRk7GLA536XnmvWxKFVP9U= Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------FBdfHrSzsWu1mdY2IO9PSkjt" X-bounce-key: webpack.hosteurope.de;marc@mabe.berlin;1734628317;1db9fe6b; X-HE-SMSGID: 1tOK42-00FQ3e-1x From: marc@mabe.berlin (Marc Bennewitz) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------FBdfHrSzsWu1mdY2IO9PSkjt Content-Type: multipart/mixed; boundary="------------Z0iS27K0AZS82D1Mpqa0DZnt"; protected-headers="v1" From: Marc Bennewitz To: internals@lists.php.net Message-ID: Subject: Idea: Inline enum --------------Z0iS27K0AZS82D1Mpqa0DZnt Content-Type: multipart/mixed; boundary="------------49Udg8xMhVLbDP1nXMv1920m" --------------49Udg8xMhVLbDP1nXMv1920m Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 SGkgYWxsLA0KDQpJIGdvdCBhIGNhc2Ugd2hlcmUgSSBoYXZlIHRvIGNyZWF0ZSBtdWx0aXBs ZSBkaWZmZXJlbnQgZm9ybWF0dGVycyBhbmQgDQphbHNvIEkgd2FudCB0byBkZWZpbmUgdGhl IH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XI6OkRBVEVfVE9LRU46OkRh eU9mTW9udGg7DQokdG9rZW4gaW5zdGFuY2VvZiBNeUZvcm1hdHRlcjo6REFURV9UT0tFTjsN Cg0KDQpXaGF0IGRvIHlvdSB0aGluaz8NCiDCoMKgIERvZXMgdGhhdCBtYWtlIHNlbnNlPw0K IMKgwqAgSXMgdGhhdCBpbXBsZW1lbnRhYmxlPw0KDQpNYXJjDQoNCg== --------------49Udg8xMhVLbDP1nXMv1920m Content-Type: application/pgp-keys; name="OpenPGP_0x3936ABF753BC88CE.asc" Content-Disposition: attachment; filename="OpenPGP_0x3936ABF753BC88CE.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xsBNBFby8roBCAD4qHjbk9+V3SmB5DfpkTtX58jYJ9VXVfF54MDoI0fQiYvKyrrg hfO78alHc12RsEZxLH2F5kEfu8WO4wA4apg2gBnRRxqPj7krsct1ySOAdMrRVp8W taeaznpdcn2gJZyAMSI6LTzebT25N77ksvSrUi1BuCKyOa7SmYff3xGgOwYsHQlT 5opMNGPCVegiPmO/K37anwtsgj6L7RVtjXtp2Z3wAs6r3EmO318PL48xDLUgYMvE FAPJglth5FGH2En6n6HFIhxh43LqXQiNeHVjLjS2y8huNBswwc9ZVxk3ip5z/GCm pWnNkgGBOSJ7loJRsq2tOaU6yU8KWb5rhOoFABEBAAHNIU1hcmMgQmVubmV3aXR6 IDxtYXJjQG1hYmUuYmVybGluPsLAeAQTAQIAIgUCVvLyugIbAwYLCQgHAwIGFQgC CQoLBBYCAwECHgECF4AACgkQOTar91O8iM6jzggAwvV6MqU/hcAI6ldpxVjucGz2 J9cAWtva8GL+rm9zvEs7EENtamehJiZob/CTw50WiI/zsJzPblktpT0D2AFBEp9k P5/8CmCpZzxYPsxnLtsFM52fOBpO+aP0PSStBpJjndjBH7HPqKcTCXM3ZM+SL6ly RweAJR7G+JXIZbuUrbjB2lbGx3itNZ6TeXqqnE6KTXNKLEbNHfVdzE4sPDkmuZRo /M2h+gmeS1iQb29WBmhvL6czugCQI9rYl7C4Nci9wPii1lTYyfCWQfQKID4/F2Hi Ov+N/vDMCK1xV8TUeCy8w4X+nYj+wDog046ki9lUM60oPij6WoSJLqfsXr1kNc7A TQRW8vK6AQgAq7QYLB1Dz+8RSi5AGJP1tOFQXtcxyOhNVQZsI1mCQiHay4wteQ+5 m4EOUuR+FrFIlnbSrPdTkKD2wvQDHVqpZivThBpJvara/ick0wi2R3dasu1sPMu1 P6h1EwUsydhviNJB07aLfPAWD6eoqmGTd8236znIIq7mbnNpOnxIQxviTyELUekr Nw38uQtVzR6XZv9PAThA2o1J1JZID7QUpKcNyo9ebYlwxyS+xzhA4DLDqfD6O5sK oKvxEf2fIZeP0ETPpHNYk0WiWnmNoPy8eEY07LriYALVidBwPBcxus0wGoKf8Nun y2aE13SHmj0ioBI1bXMGJx3hEbvzXK6WrwARAQABwsBfBBgBAgAJBQJW8vK6AhsM AAoJEDk2q/dTvIjOkowIAI70P8U4j3eqyK/7x1bnCZZRcpwZ1aH+LR1yMKTINo9N DqlOBWQTLT69YMfV4UN+nTSiD/uLw1fSeLSzBwpoalCMLPVOX/d3Mq5JtL5cKtWU TIVf3Vb7VbN4Rvb8HgWjeSnM1PiG9yQBmLKI68sG/gdgvA/xANdUatkDgG0yj8PC dt+Vy4EblXbIAXZXJ6eRugSKowTjst7iHXKOJxivomHFcmqmkiqjwGTGx/jrhbDt EpPDRk+U9W45D4CbUcyPR6lMSrje5JPGQDv/45M5wPe286YelBjnb0cWRJpA7GZC WDKZOsQ2H6cCRBi8i4m+vfRk7GLA536XnmvWxKFVP9U=3D =3Doi2m -----END PGP PUBLIC KEY BLOCK----- --------------49Udg8xMhVLbDP1nXMv1920m-- --------------Z0iS27K0AZS82D1Mpqa0DZnt-- --------------FBdfHrSzsWu1mdY2IO9PSkjt Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature.asc" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEENJIbKB0SAX2RmUKbOTar91O8iM4FAmdkU9oFAwAAAAAACgkQOTar91O8iM7S UAgAxoDMOp25+2giJu/CCF0lfHgKmukRxmmgqakGcxYY13/nmVhLGtjEAvKbSr5jas4gr6Fjuv29 fZdCsLgMsHFq0qPcVYlM620seaHa2NQDp8HgpYRCWI5twygZD+S+9WcG5XqAThC6R8uimUKnDv3z 7luchp9N1Xi5sJTK+sb+xAtmmK6ste9C4Py1HfwTi9gC5OZ8zkMDvkDUhaimCpHvR6n7mqrdIdaZ 3jCT6zNTcueOlxcAkq8pTFs/THgcOPjlu3c8egczqJOi2fw2Q9C5Wmb22zdwAYBm0QFBUgVTI7sm OITqKlp2znCNP8vckYlZrstFk7M+j5EbAsC8AcPkGQ== =UA// -----END PGP SIGNATURE----- --------------FBdfHrSzsWu1mdY2IO9PSkjt--