Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92681 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94881 invoked from network); 24 Apr 2016 11:00:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Apr 2016 11:00:40 -0000 Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 65.55.169.110 as permitted sender) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 65.55.169.110 mail-bl2on0110.outbound.protection.outlook.com Received: from [65.55.169.110] ([65.55.169.110:27201] helo=na01-bl2-obe.outbound.protection.outlook.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8F/31-21220-C47AC175 for ; Sun, 24 Apr 2016 07:00:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=RWSoftware.onmicrosoft.com; s=selector1-zend-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Xb6IBAbgN+1v5E0M6Mme4Nd4Bx7jSahDuvCCCthD2SU=; b=WxnHWOCzxh0lWt5uDYkaq2eP2Kv/a0Si4wJ0CzNWf58FADoRd2ew3ZYyKutR0iL6dr33PyAd9Us5WPURqb+LvfqZ0mlduKylvULqWQyNgW6WSRkHJEDG9tQJmdWglvq4g7ZQcdIYobJejqfOYJeE8kQ53om3rQUZjaXFOwsfijQ= Received: from BY2PR02MB298.namprd02.prod.outlook.com (10.141.140.21) by BY2PR02MB300.namprd02.prod.outlook.com (10.141.140.26) with Microsoft SMTP Server (TLS) id 15.1.466.19; Sun, 24 Apr 2016 11:00:18 +0000 Received: from BY2PR02MB298.namprd02.prod.outlook.com ([10.141.140.21]) by BY2PR02MB298.namprd02.prod.outlook.com ([10.141.140.21]) with mapi id 15.01.0466.024; Sun, 24 Apr 2016 11:00:18 +0000 To: Sebastian Bergmann CC: "internals@lists.php.net" Thread-Topic: [PHP-DEV] [RFC] PHP Attributes Thread-Index: AQHRnBAun0yJJJCyoUaLowSO4sZVN5+Y2wOAgAAdNQA= Date: Sun, 24 Apr 2016 11:00:18 +0000 Message-ID: References: <571C8E3B.3010105@php.net> In-Reply-To: <571C8E3B.3010105@php.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: php.net; dkim=none (message not signed) header.d=none;php.net; dmarc=none action=none header.from=zend.com; x-originating-ip: [212.199.177.67] x-ms-office365-filtering-correlation-id: 7d0934d8-6943-4f81-f4a9-08d36c2f9f7d x-microsoft-exchange-diagnostics: 1;BY2PR02MB300;5:v+Ea0QxS7aHQDPgDgaEhae1b/1/GevsjnHuuhuXe9v08pN3U71OG3RlpRbBzArfElbm/0cj5ppcBi4YEjG8CHtrMMd0WU8N0mkPB5Crnx5kMulexSzn+lqamKKDkkurQrDGs9EiWrejsmUx51MjYWFDCevDn7r63ZmTaCBse/ttihue5hudWZxOfaD83KUiF;24:u3gzvKd5ltu677Ay7BsO5v6CYzVrGlgXAB5vocBn180lgEF6QbxncjUYqf3dp6DAw3haaOCSp5vwd+1jlZCVYLAR/HC52PUJambnBKpfvCk=;7:xu2VspD8EcriFFiWFwF2vfsoYNdDfP7ZA0nrGtI/nQZ6TcFo+2U6CM/gM9zAg8fQyug+D83jDLZPT1ljnNmNoSLmYc/bA20iWOWvtc6G+cQN40P2FttGZz0NQGTmKt9kEhRza7yDENIRfP5VpHcIhPQhG/eJBicBrLw4zfxEyG1UEuEE7aYNi9CvFfbkSwolICFKnQrCFOK3K+7j+LrZkIUp+j6WGhF/2/MlBS/8U6E= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR02MB300; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(9101521062)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046);SRVR:BY2PR02MB300;BCL:0;PCL:0;RULEID:;SRVR:BY2PR02MB300; x-forefront-prvs: 09222B39F5 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(377454003)(13464003)(24454002)(5004730100002)(122556002)(66066001)(50986999)(3660700001)(9686002)(106116001)(3280700002)(5002640100001)(5008740100001)(81166005)(189998001)(87936001)(2900100001)(2950100001)(33656002)(76176999)(74316001)(77096005)(92566002)(3846002)(102836003)(6116002)(54356999)(76576001)(110136002)(99286002)(11100500001)(86362001)(2906002)(19580395003)(586003)(1220700001)(19580405001)(4326007)(5003600100002)(1096002)(10400500002);DIR:OUT;SFP:1102;SCL:1;SRVR:BY2PR02MB300;H:BY2PR02MB298.namprd02.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: zend.com X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Apr 2016 11:00:18.3841 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 32210298-c08b-4829-8097-6b12c025a892 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR02MB300 Subject: RE: [PHP-DEV] [RFC] PHP Attributes From: zeev@zend.com (Zeev Suraski) > -----Original Message----- > From: Sebastian Bergmann [mailto:sebastian@php.net] > Sent: Sunday, April 24, 2016 12:14 PM > To: internals@lists.php.net > Subject: Re: [PHP-DEV] [RFC] PHP Attributes >=20 > On 04/21/2016 11:13 PM, Dmitry Stogov wrote: > > I would like to present an RFC proposing support for native annotation. >=20 > Dmitry, >=20 > please use "annotation" as the name for this feature and not "attribute". >=20 > We already have attributes: it's what we use to store data in objects. An= d > while some people call them "member variables" or "properties" the correc= t > term for them (AFAIK) is "attribute". I don't think I've ever heard properties referred to as attributes in the c= ontext of PHP. The PHP manual defines them and refers to them throughout a= s 'properties'. (I'm not voicing an opinion on attributes vs. annotations; Just pointing o= ut that data storage inside objects isn't named attributes). Zeev