note 31174 deleted from language.types.string by danbrown

From: Date: Tue, 17 May 2011 14:21:00 +0000
Subject: note 31174 deleted from language.types.string by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-179802@lists.php.net to get a copy of this message
Note Submitter: philip at cornado dot com ---- Note that in PHP versions 4.3.0 and 4.3.1, the following provides a bogus E_NOTICE (this is a known bug): echo "$somearray['bar']"; This is accessing an array inside a string using a quoted key and no {braces}. Reading the documention shows all the correct ways to do this but the above will output nothing on most systems (most have E_NOTICE off) so users may be confused. In PHP 4.3.2, the above will again yield a parse error.

« previous php.notes (#179802) next »