Rasmus Lerdorf wrote:Couldn't you make the same argument for: function A() { function B() { } }
I would :)
The syntax is meaningless and confusing if the program does not operate the way it is written. By all sensible considerations, B should be local to A. Since it is not, the syntax should cause a parser error, and the same with namespaces. And then what happens with that stuff when, at some point in the future, proper scoping is implemented?
Lets disallow both nesting function and NOT WORKING nested namespaces (and classes?) for PHP5.
We changed a lot and took care about BC issues even more but why not get rid of these shit? AND
why introducing even more nonsense?
marcus
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
