Re: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c /tests bug26802.phpt
| From: | Andrei Zmievski | Date: | Mon, 05 Jan 2004 23:26:38 +0000 |
| Subject: | Re: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c /tests bug26802.phpt | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6802@lists.php.net to get a copy of this message | ||
On Tue, 06 Jan 2004, Marcus Boerger wrote:
> I see "\$obj->blah" much different becasue it would require evaluating the
> string and access the current symbol table to get $obj. Further more we'd
> need to patch $this and so on. On the other hand $class::$method() should
> access the static property $method of class $class and call the result as a
> function.
So you are breaking backwards-compatibility? Because in PHP 4
"foo::$b()" would invoke the method named by $b, rather than accessing
propert named by $b calling the result as a function.
- Andrei