Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93354 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3318 invoked from network); 16 May 2016 10:38:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 May 2016 10:38:39 -0000 Authentication-Results: pb1.pair.com header.from=php@fleshgrinder.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=php@fleshgrinder.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fleshgrinder.com from 212.232.28.124 cause and error) X-PHP-List-Original-Sender: php@fleshgrinder.com X-Host-Fingerprint: 212.232.28.124 mx203.easyname.com Received: from [212.232.28.124] ([212.232.28.124:37419] helo=mx203.easyname.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2C/94-65275-C23A9375 for ; Mon, 16 May 2016 06:38:37 -0400 Received: from cable-81-173-133-15.netcologne.de ([81.173.133.15] helo=[192.168.178.20]) by mx.easyname.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1b2Fuz-0005pS-3g; Mon, 16 May 2016 10:38:33 +0000 Reply-To: internals@lists.php.net References: To: Rasmus Schultz , PHP internals Message-ID: <211db59e-9c22-6df4-1f72-66ebbc5095bd@fleshgrinder.com> Date: Mon, 16 May 2016 12:38:22 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="IDrxbDHKAN34SurrkEGucBPm5KB4bgn5b" X-ACL-Warn: X-DNSBL-BARRACUDACENTRAL Subject: Re: [PHP-DEV] [RFC] Simple Annotations From: php@fleshgrinder.com (Fleshgrinder) --IDrxbDHKAN34SurrkEGucBPm5KB4bgn5b Content-Type: multipart/mixed; boundary="32MLDGX5bXSbpiSlqTQiv4jkxumKw0vMg" From: Fleshgrinder Reply-To: internals@lists.php.net To: Rasmus Schultz , PHP internals Message-ID: <211db59e-9c22-6df4-1f72-66ebbc5095bd@fleshgrinder.com> Subject: Re: [PHP-DEV] [RFC] Simple Annotations References: In-Reply-To: --32MLDGX5bXSbpiSlqTQiv4jkxumKw0vMg Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 5/13/2016 2:11 PM, Rasmus Schultz wrote: > Dear Internals, >=20 > I'm announcing a simplified RFC for annotations: >=20 > https://wiki.php.net/rfc/simple-annotations >=20 -1 again, I am sorry. The problem is that an annotation by definition is just meta-data. Your proposal however might result in fatal errors from meta-data: $reflector =3D new ReflectionClass(User::class); $reflector->getAnnotations(); // Fatal error: Uncaught Error: Class 'TableName' not found ... This is an absolute No-Go for meta-data. --=20 Richard "Fleshgrinder" Fussenegger --32MLDGX5bXSbpiSlqTQiv4jkxumKw0vMg-- --IDrxbDHKAN34SurrkEGucBPm5KB4bgn5b Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXOaMnAAoJEOKkKcqFPVVrj+EQALdyWoxk0RRphRnU/vi1F2K4 j1f2ystVVeMmxMgvFbOMpQP+gRfnPYt7iZL7OS0JOx3pKOU5VuWS+Ovy8IDw5PgD 5vWleL7tWZMb31KRc5BDBNkdECjJy7FqDEKpnSnaA+VXkBK5cwcP33q21iQVtIjl wc19qN/UQ1ofdwOPKEnER2ugutuxID0K/2S/d7vmeL+xQkSb/Jc0UiVg4YO60Hu9 TALSE5BwfDSJ+yAuE8Lc/kseDjIxC/IoPYH6XUuwo8BP/iXoPGiyo/CFFkoAqfoa nV96AYDIGcs7MVvYZX8K1FSEouILBJmeAph1xLqfzh9eu/Kqwa/3No/xgfwI7cj2 EcNd1TT0AdXsQhSqJoAWQa2tdTBPUL18bE7rwgyle7Bkjnxmm45nWNZYyxshdSVy L4fHNyR7ce9hqNiGjbwNTpatRpa2I3Oelf1Ot2daGX1e0UlG1Of6erDHy7Vrl+qQ Cu4yenAL0o33vsADdqJ19SQK8Oe+yUoauiTHoEmI19ZpRh6AVL4+kpmYN22Rnn+/ Cjo9tqi0Qvm+363TyGPPgQEmN7siZek2XbGgRd/mZhYoFsZgDawNlq0zuoP47da7 9RrZV7H27G5ZMAtGfe8bmvEBBz2ttE6JvvVMlFt4clH6LayVg+ET+kKsjZpebZ8K 9ww3KyDoCEVVL+fDMj2S =u7sY -----END PGP SIGNATURE----- --IDrxbDHKAN34SurrkEGucBPm5KB4bgn5b--