note 31174 added to language.types.string

From: Date: Fri, 11 Apr 2003 22:37:51 +0000
Subject: note 31174 added to language.types.string
Groups: php.notes 
Request: Send a blank email to php-notes+get-46529@lists.php.net to get a copy of this message
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. -- http://www.php.net/manual/en/language.types.string.php http://master.php.net/manage/user-notes.php?action=edit+31174 http://master.php.net/manage/user-notes.php?action=delete+31174 http://master.php.net/manage/user-notes.php?action=reject+31174

« previous php.notes (#46529) next »