Petar Nedyalkov wrote:
proper scopes for global, classes and functions.
will allow for local variables for functions and classes without having to
use $this->foo in classes and will allow for a more c/c++ like classes.
I think this will pollute the namespace a lot and may lead to spaghetti code
problems.
When reading C++ code it's usually rather hard to determine whether a given
variable is a member of the class, one of its parent classes, the local
context or something global.
So i'm all for keeping the $this-> prefix even though it adds some
extra typing ...
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php