Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31287 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45123 invoked by uid 1010); 27 Jul 2007 03:47:42 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 45108 invoked from network); 27 Jul 2007 03:47:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jul 2007 03:47:42 -0000 Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain l-i-e.com from 67.139.134.202 cause and error) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:3520] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 33/42-29409-CDA69A64 for ; Thu, 26 Jul 2007 23:47:41 -0400 Received: (qmail 79693 invoked by uid 98); 27 Jul 2007 03:47:44 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-2.01 (clamdscan: 0.88.7/3775. Clear:RC:1(127.0.0.1):. Processed in 0.100514 secs); 27 Jul 2007 03:47:44 -0000 Received: from localhost (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 27 Jul 2007 03:47:44 -0000 Received: from 24.12.13.192 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Thu, 26 Jul 2007 22:47:44 -0500 (CDT) Message-ID: <2747.24.12.13.192.1185508064.squirrel@www.l-i-e.com> In-Reply-To: <46A7A03B.4090509@zend.com> References: <46A31D95.2080407@fischer.name> <46A4661A.6080202@zend.com> <200707231140.55535.pstradomski@gmail.com> <46A4BA4F.6090506@dealnews.com> <40CA6572-030F-43E2-8706-64D1167C527C@bitxtender.com> <46A4C090.50402@php.net> <48683.209.254.223.2.1185330599.squirrel@www.l-i-e.com> <46A7A03B.4090509@zend.com> Date: Thu, 26 Jul 2007 22:47:44 -0500 (CDT) To: "Stanislav Malyshev" Cc: "Brian Moon" , David =?iso-8859-1?Q?Z=FClke?= , "PHP Internals" Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] Question about Namespace patch From: ceo@l-i-e.com ("Richard Lynch") On Wed, July 25, 2007 2:10 pm, Stanislav Malyshev wrote: >> Or, in my dream world of PHP being unique: >> import LibB (-Date); >> import LibB::Date as BDate; > > next would be: > SELECT class FROM LibB WHERE class.name NOT LIKE 'Date%' AND > class.version < 3.14 OR class.approved='Manager' > Maybe we should use PDO to support these? ;) No, I think that if I need to use a DB to manage my package names, I could do it just fine *IF* sufficient granularity is provided as above. But there's no such ability at this time, which makes it pretty unsuitable for the 90%, imho. >> I don't think it works well at all for the unwashed masses that just >> want to get the job done with minimum fuss -- which is what PHP was >> originally all about :-) > > Unwashed masses did 10 years fine without it :) So we don't need namespaces at all? :-) If we need them, shouldn't they be useful to the 90% instead of only the 10%? Or is this an "advanced feature" that only the 10% should even use? Shall we document it as such? -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?