note 33516 added to function.next

From: Date: Sat, 28 Jun 2003 13:11:42 +0000
Subject: note 33516 added to function.next
Groups: php.notes 
Request: Send a blank email to php-notes+get-51134@lists.php.net to get a copy of this message
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 ? ---- Manual Page -- http://www.php.net/manual/en/function.next.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33516 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33516&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33516&report=yes

« previous php.notes (#51134) next »