Arrays as class members
| From: | Geoff Coffey | Date: | Wed, 20 Dec 2000 17:47:32 +0000 |
| Subject: | Arrays as class members | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31261@lists.php.net to get a copy of this message | ||
I'm new...
Can someone explain why this fails:
$this->$fields['test'] = 1
What I end up with is $this->$fields == 1, which is not at all what I want.
This assignment keeps clobbering my array...
Thanks,
Geoff