Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42658 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25938 invoked from network); 16 Jan 2009 12:38:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jan 2009 12:38:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=Bernhard.Schmalhofer@gmx.de; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=Bernhard.Schmalhofer@gmx.de; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.de designates 213.165.64.20 as permitted sender) X-PHP-List-Original-Sender: Bernhard.Schmalhofer@gmx.de X-Host-Fingerprint: 213.165.64.20 mail.gmx.net Received: from [213.165.64.20] ([213.165.64.20:57813] helo=mail.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B7/11-27029-ECF70794 for ; Fri, 16 Jan 2009 07:38:39 -0500 Received: (qmail invoked by alias); 16 Jan 2009 12:38:33 -0000 Received: from p549A0362.dip0.t-ipconnect.de (EHLO [192.168.178.20]) [84.154.3.98] by mail.gmx.net (mp070) with SMTP; 16 Jan 2009 13:38:33 +0100 X-Authenticated: #5068625 X-Provags-ID: V01U2FsdGVkX1+LRrwk/ByLFrEoteBBm7413yREtY3CA7syawV5rY G+XpcUnCiUq6HL Message-ID: <49707FC7.80206@gmx.de> Date: Fri, 16 Jan 2009 13:38:31 +0100 User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: PHP Developers Mailing List Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6899999999999999 Subject: RFC: Namespace declaration with leading backslash From: Bernhard.Schmalhofer@gmx.de (Bernhard Schmalhofer) Hi, I was looking at namespaces in PHP 5.3, http://de3.php.net/manual/en/language.namespaces.definition.php. There I found myself wondering why a leading backslash in namespace declaration is not allowed. For example: I image that a trailing backslash could become a common programming error, especially as it is required when refering to symbols with their absolute name. Best regards, Bernhard Schmalhofer