Re: wishlist item for 6.0.0
| From: | Hartmut Holzgraefe | Date: | Tue, 04 Oct 2005 13:23:03 +0000 |
| Subject: | Re: wishlist item for 6.0.0 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19393@lists.php.net to get a copy of this message | ||
Petar Nedyalkov wrote:
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 ...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.