Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33697 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56206 invoked by uid 1010); 4 Dec 2007 22:41:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 56190 invoked from network); 4 Dec 2007 22:41:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Dec 2007 22:41:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=steph@zend.com; spf=permerror; sender-id=softfail Authentication-Results: pb1.pair.com header.from=steph@zend.com; sender-id=softfail Received-SPF: error (pb1.pair.com: domain zend.com from 64.97.136.146 cause and error) X-PHP-List-Original-Sender: steph@zend.com X-Host-Fingerprint: 64.97.136.146 smtpout0146.sc1.he.tucows.com Solaris 8 (1) Received: from [64.97.136.146] ([64.97.136.146:18920] helo=n068.sc1.he.tucows.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 08/B0-47601-197D5574 for ; Tue, 04 Dec 2007 17:41:22 -0500 Received: from sc1-out04.emaildefenseservice.com (64.97.139.2) by n068.sc1.he.tucows.com (7.2.069.1) id 47030B1E005BEBB5; Tue, 4 Dec 2007 22:41:10 +0000 X-SpamScore: 2 X-Spamcatcher-Summary: 2,0,0,40a5dc0db567bfc6,fb2fe948d55a8c3b,steph@zend.com,-,RULES_HIT:152:355:379:539:540:541:542:543:567:599:601:945:960:988:989:1155:1156:1260:1277:1311:1313:1314:1345:1437:1515:1516:1518:1534:1541:1587:1593:1594:1676:1711:1730:1747:1766:1792:2073:2075:2078:2379:2393:2559:2562:3027:3352:3865:3866:3867:3868:3869:3870:3871:3872:3873:3874:4362:5007:6119:6261,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:none,DNSBL:none X-Spamcatcher-Explanation: Received: from foxbox (unknown [64.97.206.40]) (Authenticated sender: steph.fox) by sc1-out04.emaildefenseservice.com (Postfix) with ESMTP; Tue, 4 Dec 2007 22:41:27 +0000 (UTC) Message-ID: <048a01c836c6$da00d010$e6dfc350@foxbox> Reply-To: "Steph Fox" To: "Derick Rethans" , "PHP Developers Mailing List" References: Date: Tue, 4 Dec 2007 22:41:44 -0000 Organization: Zend Technologies MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; 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 Subject: Re: [PHP-DEV] RFC: Dropping Namespace From: steph@zend.com ("Steph Fox") Hi D, > extension (DateTime, DateTimeZone). However introducing the new class > DateTimeSpan might break people's code that do things like: > > use myNamespace::DateTimeZone as DateTimeZone; > ?> Typo? I guess you meant 'DateTimeSpan' to be in there somewhere... This is I think the biggest problem with the implementation, that new internal classes can still break userland code. The problem of single-file namespacing is only a problem because of the performance implications for those who bundle their includes, and it _should_ be possible to find a good way to resolve that. I don't really see a problem with the 'use only at the head of the file' thing (although I know others do); in fact I prefer it, because it makes for an easier upgrade path. Can I just ask one thing? If namespace support is once again pulled before it sees the light of a release, can we _please_ document exactly what the problems were, loud and clear, and put the document somewhere people are likely to see it? Thanks, - Steph