Re: </endnamespacediscussion>

From: Date: Sat, 25 Oct 2008 21:07:16 +0000
Subject: Re: </endnamespacediscussion>
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-41375@lists.php.net to get a copy of this message
I hope it is only very bad joke :-( namespace myNamespace; class theLoader { function load($class) { ... } } // somewhere else spl_autoload_register(array("myNamespace\theLoader", "load")); -> registers myNamespace<tab>heLoader::load() David Grudl -------- Původní zpráva -------- Předmět: </endnamespacediscussion> Od: mls@pooteeweet.org (Lukas Kahwe Smith) Komu: Datum: 25.10.2008 20:07
Hi all, Thx to the initiative of Scott and Steph we had an IRC discussion with several code developers. The result is that we have decided to go with backslash as new separator for namespaces. The IRC log that illustrates why we in the end decided to go with changing the separator and the final decision on backslash can be found on the wiki [1].


« previous php.internals (#41375) next »