note 33516 rejected from function.next by torben
| From: | torben@php.net | Date: | Sat, 28 Jun 2003 20:31:27 +0000 |
| Subject: | note 33516 rejected from function.next by torben | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-51138@lists.php.net to get a copy of this message | ||
Note Submitter: mvangrieken@tiscali.be
----
I have a problem.
I can do this: (it's nice syntax)
$barcode[]= $RIGHTHAND_ENCODING_TABLE.....
But when i do the following (in a class where $barcode is a private member):
$this->$barcode[]= $RIGHTHAND_ENCODING_TABLE.....
I get a Fatal error: Cannot use [] for reading in /usr/local/apache/htdocs/lessen/barcode.php on
line 44
Why is the [] operator not consistent ?