Hi Greg,
Steph: the limited solution proposed by Stas and company (removing
functions [and I would add constants]/fixing name resolution) *is* a
basic solution that can be expanded on. I outlined the steps in my
reply. It's the best solution to the problem, not an imperfect one. A
namespace solution that works brilliantly for classes will satisfy at
least 2/3 of the users who want it.
Great! So why isn't it already in CVS?
Adding support for functions, constants and even variables is actually
quite do-able with the solution I suggested (different separator between
namespace name and function/constant/variable name) and can be added
easily.
Ah.... that's why it isn't already in.
I agree with you that this would be a workable solution for 99% of the
problems uncovered so far, but... man, it's fugly!
- Steph
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php