Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63323 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17431 invoked from network); 10 Oct 2012 13:18:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Oct 2012 13:18:06 -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:54283] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 68/05-23031-C8575705 for ; Wed, 10 Oct 2012 09:18:05 -0400 Received: from [192.168.2.230] (host-188-174-195-117.customer.m-online.net [188.174.195.117]) (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 BE88864ADA; Wed, 10 Oct 2012 15:18:00 +0200 (CEST) To: Clint Priest Cc: Leigh , David Muir , "internals@lists.php.net" In-Reply-To: <9570D903A3BECE4092E924C2985CE485612B4ABE@MBX202.domain.local> References: <9570D903A3BECE4092E924C2985CE485612B3B48@MBX202.domain.local> <5073328D.5000002@gmail.com> <50735165.8010703@aaronholmes.net> <9570D903A3BECE4092E924C2985CE485612B4353@MBX202.domain.local> <760ab4f994a78a846cf86aafda71e0e2@mohiva.com> <5074EB6F.4030809@gmail.com> <9570D903A3BECE4092E924C2985CE485612B4ABE@MBX202.domain.local> Content-Type: text/plain; charset="UTF-8" Date: Wed, 10 Oct 2012 15:17:38 +0200 Message-ID: <1349875059.1572.1.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 8bit Subject: RE: [PHP-DEV] [RFC] Propety Accessors v1.1 From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Wed, 2012-10-10 at 11:53 +0000, Clint Priest wrote: > > On 10 October 2012 01:16, Johannes Schlüter wrote: > > > Up until now reflection is leaky and is telling the truth. We should > > > either keep that or completely clean up reflection. > > > > Reflection should always tell the truth, or there is no point in it. > > > > Unfortunately the "truth" here is subjective. > > Does the PHP programmer need the "truth of underlying language > implementation details" or do they need the "truth" of what they've > defined? > > I would argue that if the PHP programmer has defined a property > accessor then the truth to him/her is that it's a property accessor > and should be "reflected" as such. The fact that the underlying php > language implements it internally as a series of functions isn't > relevant and is a distortion of the truth, from the perspective of the > PHP programmer. The truth is like 2this is what the engine is behaving like". To my understanding those methods could be called explicitly and exist. As such for the engine they are there. johannes