note 22491 added to function.array

From: Date: Thu, 20 Jun 2002 03:49:17 +0000
Subject: note 22491 added to function.array
Groups: php.notes 
Request: Send a blank email to php-notes+get-32029@lists.php.net to get a copy of this message
Be careful when you try to access an instance array variable inside of double quotes (a common Perl practice). Several hours of debugging led me to conclude that this: echo( "The value: $this->someArray[1]" ) simply will not work. Make sure the array reference is outside the quotes! -- http://www.php.net/manual/en/function.array.php http://master.php.net/manage/user-notes.php?action=edit+22491 http://master.php.net/manage/user-notes.php?action=delete+22491 http://master.php.net/manage/user-notes.php?action=reject+22491

« previous php.notes (#32029) next »