Re: Class and extends pb/bug? with php404pl1
| From: | Christian Reiniger | Date: | Tue, 22 May 2001 12:14:54 +0000 |
| Subject: | Re: Class and extends pb/bug? with php404pl1 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53847@lists.php.net to get a copy of this message | ||
On Tuesday 22 May 2001 11:54, Hugues BRUNEL wrote:
> echo "b::foo1=".$this->$foo1."\n" ;
> echo "b::foo2=".$this->$foo2."\n" ;
You're accessing the fields incorrectly. It's $this->foo1 (without the
second '$').
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
CPU not found. retry, abort, ignore?