Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42808 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33097 invoked from network); 24 Jan 2009 00:08:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jan 2009 00:08:05 -0000 Authentication-Results: pb1.pair.com header.from=addw@phcomp.co.uk; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=addw@phcomp.co.uk; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain phcomp.co.uk designates 213.152.38.186 as permitted sender) X-PHP-List-Original-Sender: addw@phcomp.co.uk X-Host-Fingerprint: 213.152.38.186 freshmint.phcomp.co.uk Linux 2.6 Received: from [213.152.38.186] ([213.152.38.186:61305] helo=mint.phcomp.co.uk) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1C/49-12327-1EB5A794 for ; Fri, 23 Jan 2009 19:08:03 -0500 Received: from addw by mint.phcomp.co.uk with local (Exim 4.63) (envelope-from ) id 1LQW3z-0006f3-Cm; Sat, 24 Jan 2009 00:07:51 +0000 Date: Sat, 24 Jan 2009 00:07:51 +0000 To: Andrei Zmievski Cc: Lukas Kahwe Smith , Hannes Magnusson , PHP internals Message-ID: <20090124000751.GA25435@mint.phcomp.co.uk> References: <497A4138.2000707@gravitonic.com> <7f3ed2c30901231537j35d3b4c2i945de77a6a14dba0@mail.gmail.com> <497A578B.4080208@gravitonic.com> <3959E78B-13FC-437E-86BE-5B9EAF575BD0@pooteeweet.org> <497A599E.8030008@gravitonic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <497A599E.8030008@gravitonic.com> User-Agent: Mutt/1.4.2.2i Organization: Parliament Hill Computers Ltd Subject: Re: [PHP-DEV] Reserved namespaces From: addw@phcomp.co.uk (Alain Williams) On Fri, Jan 23, 2009 at 03:58:22PM -0800, Andrei Zmievski wrote: > Lukas Kahwe Smith wrote: > >I think the decision was to not yet bother with reserving namespaces or > >starting to namespace-ify extensions. We might however want to put out a > >naming guide for namespaces. > > I agree. Whether the error is raised or not on reserved namespaces can be > done later, but we should explicitly indicate that certain namespaces are > off-limits. Could take the simple convention that exists in perl with modules. Module names begin with a capital letter, pragmase are lower case, thus you have: use strict; use IO::File Nobody is made to do anything, however you loose the option to complain if your namespace starts with a lower case character. -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php Past chairman of UKUUG: http://www.ukuug.org/ #include