On Fri, Feb 21, 2003 at 10:47:16AM -0600, Brian Moon wrote:
> | 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_OBJEC
| 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 v