Re: Two ZE2 problems
| From: | Brian Moon | Date: | Fri, 21 Feb 2003 16:47:16 +0000 |
| Subject: | Re: Two ZE2 problems | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-94440@lists.php.net to get a copy of this message | ||
| class foo {}
| class bar {
| var $baz = 'foo';
| }
| $bar = new bar();
| $foo = new $bar->baz; // let's call this line 6
|
| It runs fine on ZE1, but ZE2 bails out with "parse error, unexpected
| T_OBJECT_OPERATOR on line 6".
Should this work? YOu are using new with a returned value that is not an
object.
Brian.
dealnews.com