| 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php
