Re: [PHP-DEV] Two ZE2 problems

2003-02-21 Thread Sander Roobol
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

Re: [PHP-DEV] Two ZE2 problems

2003-02-21 Thread Brian Moon
| 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