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: [EMAIL PROTECTED] (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].


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to