Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51234 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87698 invoked from network); 6 Jan 2011 14:33:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jan 2011 14:33:28 -0000 Authentication-Results: pb1.pair.com header.from=johannes@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 217.114.211.66 as permitted sender) X-PHP-List-Original-Sender: johannes@php.net X-Host-Fingerprint: 217.114.211.66 unknown Solaris 10 (beta) Received: from [217.114.211.66] ([217.114.211.66:64008] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8B/C1-10160-CA2D52D4 for ; Thu, 06 Jan 2011 09:33:27 -0500 Received: from [192.168.2.189] (ppp-93-104-111-193.dynamic.mnet-online.de [93.104.111.193]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id 866F84B157; Thu, 6 Jan 2011 15:33:13 +0100 (CET) To: Stefan Marr Cc: Jonathan Bond-Caron , larry@garfieldtech.com, internals@lists.php.net In-Reply-To: References: <89C52156-CF92-4DDB-8BA4-4ABF6883512C@stefan-marr.de> <201012132027.59678.larry@garfieldtech.com> <76C593EE-BCCA-4BBD-B625-B6AE9340B20C@stefan-marr.de> <73.1D.35939.D413E0D4@pb1.pair.com> <8F.32.11788.5FF5F0D4@pb1.pair.com> <4D0F7E99.8050705@garfieldtech.com> <764A364B-173B-401B-83FA-A61D45BE99CB@stefan-marr.de> <002d01cba1ee$7671d0d0$63557270$@com> Content-Type: text/plain; charset="UTF-8" Organization: php.net Date: Thu, 06 Jan 2011 15:33:12 +0100 Message-ID: <1294324392.23827.7.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Traits and Properties From: johannes@php.net (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Thu, 2011-01-06 at 14:38 +0100, Stefan Marr wrote: > > On of those things is that you actually use ReflectionClass to reflect > on a trait. > That is really an implementation detail, and should be changed to not > confuse anyone on a conceptional level. We should not expose that kind > of engine/implementation detail. This is the same with interfaces. What does class_exists('some_trait') do? - I assume that returns true too. > Thus, there remains stuff to be done about reflection. In general, I > would like to be able to access all information that was in the source > code. However, time constraints are an issue for me. If there would be > a new release date for an alpha or something, I think I could get some > time to work on it... I hoped to do some work on it over Christmas vacation, too, but did other stuff in the end ... johannes