Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41247 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8322 invoked from network); 17 Oct 2008 20:11:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Oct 2008 20:11:00 -0000 Authentication-Results: pb1.pair.com smtp.mail=greg@chiaraquartet.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=greg@chiaraquartet.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain chiaraquartet.net from 208.83.222.18 cause and error) X-PHP-List-Original-Sender: greg@chiaraquartet.net X-Host-Fingerprint: 208.83.222.18 unknown Linux 2.6 Received: from [208.83.222.18] ([208.83.222.18:57351] helo=mail.bluga.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8A/13-19022-351F8F84 for ; Fri, 17 Oct 2008 16:10:59 -0400 Received: from mail.bluga.net (localhost.localdomain [127.0.0.1]) by mail.bluga.net (Postfix) with ESMTP id 5C0CAC10050; Fri, 17 Oct 2008 13:10:49 -0700 (MST) Received: from pcp077478pcs.unl.edu (pcp077478pcs.unl.edu [129.93.148.85]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bluga.net (Postfix) with ESMTP id 151B3C10049; Fri, 17 Oct 2008 13:10:48 -0700 (MST) Message-ID: <48F8F14F.60105@chiaraquartet.net> Date: Fri, 17 Oct 2008 15:10:55 -0500 User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070807) MIME-Version: 1.0 To: Stanislav Malyshev CC: Steph Fox , PHP Developers Mailing List References: <48F653FF.5010106@chiaraquartet.net> <48F75FA1.7020505@zend.com> <48F7AD03.1050009@chiaraquartet.net> <48F7BC05.7060005@zend.com> <001501c92fed$112609f0$3ffc1f3e@foxbox> <48F7D98E.1000003@zend.com> <48F7F238.8040703@chiaraquartet.net> <48F8C0AD.2060801@zend.com> In-Reply-To: <48F8C0AD.2060801@zend.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: [PHP-DEV] my last attempt at sanity with namespaces From: greg@chiaraquartet.net (Greg Beaver) Stanislav Malyshev wrote: > Hi! > >> This is not what is proposed. The E_WARNING is *only* on a name >> conflict. Please re-read or try the patch: >> >> http://pear.php.net/~greg/resolve_conflict.patch.txt > > I see the patch is doing zend_fetch_class, which autoloads. So > autoloading on each call to namespace function? yes - unless a user explicitly "use namespace blah;" This would require namespace function users to do a little extra legwork at the top of the file, which would then guarantee that class users' code does not change behavior without warning. Greg