note 22491 deleted from function.array by didou
| From: | didou@php.net | Date: | Thu, 17 Jun 2004 20:08:52 +0000 |
| Subject: | note 22491 deleted from function.array by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-71255@lists.php.net to get a copy of this message | ||
Note Submitter: Pongo
----
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!
[red:
or do:
echo( "The value: {$this->someArray[1]}" )
]