Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39926 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46060 invoked from network); 13 Aug 2008 18:29:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Aug 2008 18:29:43 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.163 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.163 il-gw1.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.163] ([212.25.124.163:59541] helo=il-gw1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 67/4A-30462-61823A84 for ; Wed, 13 Aug 2008 14:29:42 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 13 Aug 2008 21:30:31 +0300 Received: from [192.168.16.110] ([192.168.16.110]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 13 Aug 2008 11:29:43 -0700 Message-ID: <48A32817.4020105@zend.com> Date: Wed, 13 Aug 2008 11:29:43 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Marcus Boerger CC: Lars Strojny , Etienne Kneuss , hannes.magnusson@gmail.com, Lukas Kahwe Smith , internals@lists.php.net References: <909776579.20080803142659@marcus-boerger.de> <840985F2-A701-4BE4-91F6-F6B39048CF9B@pooteeweet.org> <48A09FF4.1030101@zend.com> <7f3ed2c30808111411t51553771j389f05c3436bc625@mail.gmail.com> <48A0C415.9090104@zend.com> <48A0D579.2000000@zend.com> <48A0DBAE.2010401@zend.com> <496879481.20080812153636@marcus-boerger.de> <279600845.20080812225135@marcus-boerger.de> <1218621323.4926.1.camel@localhost> <1341995942.20080813152134@marcus-boerger.de> <1218634532.4926.5.camel@localhost> <1714092517.20080813194342@marcus-boerger.de> In-Reply-To: <1714092517.20080813194342@marcus-boerger.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Aug 2008 18:29:43.0490 (UTC) FILETIME=[8E42CA20:01C8FD72] Subject: Re: [PHP-DEV] Inconsistencies in 5.3 From: stas@zend.com (Stanislav Malyshev) Hi! > Once again, no code can trigger the warning right now. As the warning > requires a namespace before it can be triggered. Autoload should be > declared outside a namespace so that it can load correct namespace classes > anyway. So I do not see an issue here. autoload can work just fine inside namespace as well as outside, there's no problem with that, and class names given to autoloader are always full class names, so where it is declared has no effect. As for the argument "there's no namespaced code so anything goes since we can't break any code" - it's bogus. We expect a lot of existing code to be converted to namespaces once 5.3 is out, and we want to make it as painless as possible. Throwing warning each time you have include is not the way. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com