Re: object refrences (POSSIBLE MAJOR BUG)
| From: | Andi Gutmans | Date: | Thu, 11 Apr 2002 22:24:34 +0000 |
| Subject: | Re: object refrences (POSSIBLE MAJOR BUG) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-82629@lists.php.net to get a copy of this message | ||
At 11:14 11/04/2002 -0700, brad lafountain wrote:
--- Andrey Hristov <ahristov@icygen.com> wrote: But dereferncing like this $foo->bar()->fubar its not $foo->bar()->fubar its $foo->bar->fubar 4.1.2 can't derefrence objects from functions that IS a feature of Z2.. but my example isn't derefrencing something from a function just a member of an object.Brad, I don't have time right now to study your example but you are most likely stumbling on one of the problems which are supposed to be solved in Engine 2. Actually it is the main driving force for Engine 2 which has java-like object handles and not objects as language primitives which some problems especially additional copying of objects. Try and always treat your object by-reference and it'll probably work. Andi