Page 1 of 1
New PHP Namespaces Proposal
Posted: Fri Jul 06, 2007 12:03 pm
by Christopher
I know people love to talk about this topic. Looks like it just might happen in PHP6. Dmitry Stogov at Zend put this proposal on the devel list:
http://marc.info/?l=php-dev&m=118355320225178&w=2
Posted: Fri Jul 06, 2007 12:45 pm
by Chris Corbyn
Oh!! Now I'm excited. I'm not going to get my hopes up too much though because I've seen the idea tossed around on the list more than once (and subsequently sniffed at more than once). This is the first time I've seen code suggested with any degree of realization though
It looks like a suitably elegant way to make use of namespaces too. I'll be interested to see what happens (in terms of conflicts) if you try using __autoload() whilst in the scope of a particular namespace.
If they do implement this, it will be more of a selling point for me personally over the Unicode support.
EDIT | I've been checking out from CVS regularly too and checking the changelog in the hope of spotting some namespace mentions.... nothing so far though.
Posted: Fri Jul 06, 2007 12:46 pm
by Luke

awesome (me too chris)
Posted: Fri Jul 06, 2007 12:56 pm
by Christopher
I think it is interesting that the examples they give are for the Zend Framework. When all the other framework builders were asking for namespaces the Zend guys said it wasn't really necessary. But now they seem to think it is a good idea.
