Re: Remove variable function and method calls
| From: | Evert Pot | Date: | Fri, 23 Jul 2010 00:55:44 +0000 |
| Subject: | Re: Remove variable function and method calls | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-49117@lists.php.net to get a copy of this message | ||
On 2010-07-23, at 2:49 AM, Karoly Negyesi wrote:
>
> So you do not consider it utterly confusing that
>
> classname::$foo
> classname::$foo()
>
> mean two completely different things? The first reads a property the
> second reads a local variable. Any time you need to backtrack when you
> the source code because something you tackled on after changes the
> meaning of the code completely is considered horribly confusing in my
> opinion.
I don't disagree it can be confusing and inconsistent. However, I would bet there's no way
you'll see backwards compatibility broken for purity sake.
Therefore, this is a bit futile.
Evert