Re: PHP 4.0 Bug #3760 Updated: Assignment of a value to on member variable of a class affects (all ) others.
| From: | Heino H. Gehlsen | Date: | Wed, 08 Mar 2000 22:57:58 +0000 |
| Subject: | Re: PHP 4.0 Bug #3760 Updated: Assignment of a value to on member variable of a class affects (all ) others. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-16557@lists.php.net to get a copy of this message | ||
I have made many classes in v3
PS
look at the example provided in the bud database
----- Original Message -----
From: "Bug Database" <php-dev@lists.php.net>
To: <heino@bigfoot.com>
Sent: Wednesday, March 08, 2000 2:56 PM
Subject: PHP 4.0 Bug #3760 Updated: Assignment of a value to on member
variable of a class affects (all ) others.
> ID: 3760
> Updated by: andrei
> Reported By: heino@bigfoot.com
> Status: Closed
> Bug Type: Scripting Engine problem
> Assigned To:
> Comments:
>
> I believe the source of your troubles is that you're not using the
> class variables correctly. You do:
>
> $this->$a
>
> instead of
>
> $this->a.
>
>
> Full Bug description available at: r"”X¨€3
> ãÚÙµhttp://bugs.php.net/version4/?id=3760
>
>