Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63309 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57352 invoked from network); 10 Oct 2012 00:16:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Oct 2012 00:16:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 config.schlueters.de Received: from [217.114.211.66] ([217.114.211.66:45732] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B9/76-23861-75EB4705 for ; Tue, 09 Oct 2012 20:16:23 -0400 Received: from [192.168.2.230] (host-188-174-207-50.customer.m-online.net [188.174.207.50]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id 684356491A; Wed, 10 Oct 2012 02:16:20 +0200 (CEST) To: Clint Priest Cc: "internals@lists.php.net" In-Reply-To: <9570D903A3BECE4092E924C2985CE485612B3B48@MBX202.domain.local> References: <9570D903A3BECE4092E924C2985CE485612B3B48@MBX202.domain.local> Content-Type: text/plain; charset="UTF-8" Date: Wed, 10 Oct 2012 02:16:22 +0200 Message-ID: <1349828182.18939.31.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Propety Accessors v1.1 From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Mon, 2012-10-08 at 11:52 +0000, Clint Priest wrote: > It's been a while since I posted any updates about this, a few individuals have been asking about it privately and wanting me to get it out the door for PHP 5.5 release. It's come a long way since the last time I posted about it. > > RFC Document: https://wiki.php.net/rfc/propertygetsetsyntax-as-implemented About the items in regards to reflection in there: The RFC states ReflectionClass::getMethods() will not return accessor functions (hides implementation detail). Up until now reflection is leaky and is telling the truth. We should either keep that or completely clean up reflection. (mind also get_class_methods() and such) The RFC also introduces a new class ReflectionPropertyAccessor and has methods returning ReflectionProperty and ReflectionPropertyAccessor. there should either be a common base class or interface (see i.e. ReflectionFunctionAbstract) What will ReflectionPropertyAccessor->getGetter()->getName() return? I guess reflection will be leaky there? (see first item) johannes