Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41773 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70009 invoked from network); 8 Nov 2008 14:05:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Nov 2008 14:05:08 -0000 Authentication-Results: pb1.pair.com smtp.mail=steph@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=steph@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 64.99.136.142 as permitted sender) X-PHP-List-Original-Sender: steph@php.net X-Host-Fingerprint: 64.99.136.142 smtprelay-virgin0142.hostedemail.com Received: from [64.99.136.142] ([64.99.136.142:46507] helo=smtprelay-virgin.hostedemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C2/43-51173-29C95194 for ; Sat, 08 Nov 2008 09:05:07 -0500 Received: from filter.hostedemail.com (ff-bigip1 [10.5.19.254]) by smtprelay08.hostedemail.com (Postfix) with SMTP id 2B160FE6E0C; Sat, 8 Nov 2008 14:05:04 +0000 (UTC) X-SpamScore: 1 X-Spam-Summary: 2,0,0,f7ea1e973ac1429e,691ff1dea13fdf9b,steph@php.net,greg@chiaraquartet.net:sv_forums@fmethod.com:internals@lists.php.net,RULES_HIT:355:379:539:540:541:542:543:567:599:601:973:988:989:1155:1156:1260:1277:1311:1313:1314:1345:1437:1515:1516:1518:1534:1539:1587:1593:1594:1711:1714:1730:1747:1766:1792:2073:2075:2078:2393:2559:2562:2828:3027:3351:3622:3865:3867:3868:3869:3871:3872:3874:3876:3877:4250:5007:6114:6119:6261:7653:7875:7903:8501,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:none,DNSBL:none Received: from foxbox (62-31-252-63.cable.ubr07.shef.blueyonder.co.uk [62.31.252.63]) (Authenticated sender: steph.fox) by omf12.hostedemail.com (Postfix) with ESMTP; Sat, 8 Nov 2008 14:05:01 +0000 (UTC) Message-ID: <00eb01c941ab$43ce5ae0$3ffc1f3e@foxbox> To: "Gregory Beaver" , "Stan Vassilev | FM" Cc: "internals Mailing List" References: <4914AFCA.40307@chiaraquartet.net> <4914B8F2.1000407@chiaraquartet.net> Date: Sat, 8 Nov 2008 14:06:56 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-session-marker: 73746570682E666F78 Subject: Re: [PHP-DEV] [PATCH] bracketed namespace declarations From: steph@php.net ("Steph Fox") Hey Greg, > Remember, the patch I'm proposing would only be necessary for people > using un-namespaced code combined with namespaced code (already a bad > idea) *and* scattering "use" statements throughout the global code. If it's 'already a bad idea', why support it? > Also, the *only* supported use case behind allowing multiple namespaces > per file is to allow people to mash pre-existing separate PHP files > together, and have them still compile. Requiring brackets is designed > to make it more readable, and the "use" restriction furthers that goal. This part makes sense. - Steph