[PHP-DEV] Re:

2008-10-25 Thread Gregory Beaver
David Grudl wrote: > 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 myNamespaceheLoader::load() Fortunately,

[PHP-DEV] Re:

2008-10-25 Thread David Grudl
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 myNamespaceheLoader::load() David Grudl Původní zpráva Předmět:

[PHP-DEV]

2008-10-25 Thread Lukas Kahwe Smith
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