Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36857 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54458 invoked from network); 7 Apr 2008 20:17:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Apr 2008 20:17:05 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:40937] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 04/6C-26449-F318AF74 for ; Mon, 07 Apr 2008 16:17:04 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 7 Apr 2008 23:17:38 +0300 Received: from [192.168.16.94] ([192.168.16.94]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 7 Apr 2008 13:17:33 -0700 Message-ID: <47FA8137.5020802@zend.com> Date: Mon, 07 Apr 2008 13:16:55 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Julian Reich CC: internals@lists.php.net References: <5D0C3386-C2BC-4086-87BB-806E2350B373@eenterphace.org> In-Reply-To: <5D0C3386-C2BC-4086-87BB-806E2350B373@eenterphace.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 07 Apr 2008 20:17:33.0329 (UTC) FILETIME=[69B5E010:01C898EC] Subject: Re: [PHP-DEV] namespace implementation (irritating warning and autoload) From: stas@zend.com (Stanislav Malyshev) Hi! > Executing the code above results in a warning: "The use statement with > non-compound name 'Test1' has no effect in [...]". This is correct, use Test1 is a no-op. > I understand the rationale behind this warning but it simply isn't true: > omitting the use statement results in a fatal error: "Class > 'Test2::Test1' not found in [...]". This seems to be a bug. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com