Re: [PHP-DEV] Fields of extended class not instatiated

2003-03-23 Thread Jan Schneider
Quoting Zeev Suraski <[EMAIL PROTECTED]>: > Should be fixed now. Thanks for the test case! > > Zeev > > At 17:43 22/03/2003, Jan Schneider wrote: > >This code run in current code (HEAD): > > > >class Foo { > > var $arr = array(); > >} > > > >class FooX extends Foo { > > function bar() > >

Re: [PHP-DEV] Fields of extended class not instatiated

2003-03-22 Thread Zeev Suraski
Should be fixed now. Thanks for the test case! Zeev At 17:43 22/03/2003, Jan Schneider wrote: This code run in current code (HEAD): class Foo { var $arr = array(); } class FooX extends Foo { function bar() { var_dump($this->arr); } } $foo = new FooX(); $foo->bar(); produces "NULL" a