For those of us who gave up following the namespace debate 150+ emails ago,
can someone from the core maintainers let the rest of us plebs know if
namespaces are likely to be included any time soon.
I've been playing with the patches that were provided by moving our
framework over to their own namespace to see how hard it would be (
turns out not very ) and to be honest I am personally chomping at the
bit for a namespace implementation to make it into a production
release.
Is this something that is likely to be resolved and put into a
release or should we continue with the craptastic_underscores for a
while longer?
kind regards
Andrew M
Andrew Mason wrote:
For those of us who gave up following the namespace debate 150+ emails ago,
can someone from the core maintainers let the rest of us plebs know if
namespaces are likely to be included any time soon.I've been playing with the patches that were provided by moving our
framework over to their own namespace to see how hard it would be (
turns out not very ) and to be honest I am personally chomping at the
bit for a namespace implementation to make it into a production
release.Is this something that is likely to be resolved and put into a
release or should we continue with the craptastic_underscores for a
while longer?
Hi Andrew,
I am not a core maintainer, but I think that things are looking very
good for namespaces in 5.3. There is one issue that has not been fully
resolved that Derick raised (how to resolve import into global scope
conflicting with internal names), but there are a few real solutions on
the table. Things are getting awfully close to holidays, so don't
expect any definitive answers from people any time soon.
The best thing people can do now is try to break the current namespace
implementation, so we can find issues and either provide patches or at
least report them so that the feature can stabilize. (Which reminds me,
functions don't quite work in namespaces yet, bug reports need to be
opened :)
Greg
Hi Andrew,
I think we're on track for including namespaces in PHP 5.3.
We've made a lot of progress in the past month on ironing out the
implementation thanks to feedback from many people incl. patches by the
likes of Greg.
There are likely still some minor quirks especially when we start
looking outside the core language to places like Reflection APIs but I
think we're on track.
Andi
-----Original Message-----
From: Andrew Mason [mailto:slackmase2@gmail.com]
Sent: Sunday, December 16, 2007 9:25 PM
To: internals@lists.php.net
Subject: [PHP-DEV] Namespaces sighFor those of us who gave up following the namespace debate 150+ emails
ago,
can someone from the core maintainers let the rest of us plebs know if
namespaces are likely to be included any time soon.I've been playing with the patches that were provided by moving our
framework over to their own namespace to see how hard it would be (
turns out not very ) and to be honest I am personally chomping at the
bit for a namespace implementation to make it into a production
release.Is this something that is likely to be resolved and put into a
release or should we continue with the craptastic_underscores for a
while longer?kind regards
Andrew M