Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:158 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58734 invoked from network); 23 Mar 2003 00:27:46 -0000 Received: from unknown (HELO nils.bezeqint.net) (192.115.106.38) by pb1.pair.com with SMTP; 23 Mar 2003 00:27:46 -0000 Received: from mr1.bezeqint.net (pip-17.bezeqint.net [192.115.106.17]) by nils.bezeqint.net (Bezeq International SMTP out Mail Server) with ESMTP id 6054F9CA for ; Sun, 23 Mar 2003 02:26:09 +0200 (IST) Received: from mail.zend.com (bzq-117-235-230.cust.bezeqint.net [192.117.235.230]) by mr1.bezeqint.net (Mirapoint Messaging Server MOS 3.3.2-CR) with SMTP id AUW95021; Sun, 23 Mar 2003 02:27:37 +0200 (IST) Received: (qmail 29267 invoked from network); 23 Mar 2003 00:27:23 -0000 Received: from localhost (HELO zeev-laptop.zend.com) (127.0.0.1) by localhost with SMTP; 23 Mar 2003 00:27:23 -0000 Reply-To: zeev@zend.com Message-ID: <5.1.0.14.2.20030322192630.046403b0@localhost> X-Sender: zeev@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sat, 22 Mar 2003 19:26:42 -0600 To: Jan Schneider Cc: internals@lists.php.net In-Reply-To: <1048376634.c77fc1452f2ae@jan.dip.ammma.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] Fields of extended class not instatiated From: zeev@zend.com (Zeev Suraski) References: <1048376634.c77fc1452f2ae@jan.dip.ammma.net> 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" as the output. I guess this is not the intended behaviour? > >Jan. > >-- >http://www.horde.org - The Horde Project >http://www.ammma.de - discover your knowledge >http://www.tip4all.de - Deine private Tippgemeinschaft > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php