Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37634 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41686 invoked from network); 13 May 2008 21:00:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 May 2008 21:00:41 -0000 Received: from [127.0.0.1] ([127.0.0.1:2171]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id 01/64-19530-8710A284 for ; Tue, 13 May 2008 17:00:40 -0400 X-Host-Fingerprint: 64.58.161.125 wsip-64-58-161-125.oc.oc.cox.net Received: from [64.58.161.125] ([64.58.161.125:25531] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F3/10-10096-A84F9284 for ; Tue, 13 May 2008 16:05:42 -0400 Message-ID: To: internals@lists.php.net Date: Tue, 13 May 2008 13:07:07 -0700 User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 64.58.161.125 Subject: 5.3 and reflection From: jeremy@pinacol.com (Jeremy) Hello, I'm installing a recent snap of 5.3 on my dev server. The app I'm working on makes heavy use of reflection. How has reflection changed in 5.3 to address namespaces? What resolution rules apply when creating a ReflectionClass? If I try to create a ReflectionClass for a class that is outside the current namespace, what will happen? Also, are there any plans to address namespaces themselves in the reflection API (i.e. ReflectionNamespace objects, getNamespace() method in the ReflectionClass object, etc)? Thanks, Jeremy