News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Community News:
Namespace Operator Debate Ends with Backslash
October 27, 2008 @ 11:15:27

For those that have been keeping up with the namespace debate in the PHP community lately (the issue was the operator that would be used), it seems that a decision has been made - the backslash ( ) is the character of choice.

From Lukas Smith's blog:

So today we had an IRC meeting to discuss namespaces in PHP. We came to a final decision replacing the current double colon separator with a backslash to solve ambiguity issues with the current syntax. So far there has not been much of a reaction on list, except for a post which mentioned concerns related to the fact that backslash is currently used for escaping, but which was quickly responded by Greg to point out that yes we were aware of this, but it is not an issue if you know how to use the backslash properly in double quote strings.

You can find out more about this implementation using the backslash on this entry in the PHP.net wiki (near the bottom of the page).

0 comments voice your opinion now!
namespace operator backslash ambiguity wiki


blog comments powered by Disqus

Similar Posts

John Lim's Blog: Why Should PHP ever be taught in school?

Community News: XPath Explained (by Tobias Schlitt and Jacob Westhoff)

David Coallier's Blog: Namespaces has PHP 5.3 (Or the other way around)

Lorna Mitchell's Blog: 3 Ways to Access a Namespaced PHP Class

RubySource.com: Confessions of a Converted PHP Developer: Namespace Superhero!


Community Events





Don't see your event here?
Let us know!


unittest opinion introduction release install code framework testing podcast developer configure laravel interview symfony2 refactor series threedevsandamaybe language community list

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework