note 103107 added to language.variables.variable

From: Date: Fri, 25 Mar 2011 23:41:07 +0000
Subject: note 103107 added to language.variables.variable
Groups: php.notes 
Request: Send a blank email to php-notes+get-178222@lists.php.net to get a copy of this message
"Note that the correct syntax is ${a.$i} rather than…" That generates a warning, the correct syntax is actually ${'a' . $i} - without the quotation marks 'a' is interpreted as a constant instead of a string. ---- Server IP: 69.147.83.197 Probable Submitter: 108.5.129.169 ---- Manual Page -- http://www.php.net/manual/en/language.variables.variable.php Edit -- https://master.php.net/note/edit/103107 Del: integrated -- https://master.php.net/note/delete/103107/integrated Del: useless -- https://master.php.net/note/delete/103107/useless Del: bad code -- https://master.php.net/note/delete/103107/bad+code Del: spam -- https://master.php.net/note/delete/103107/spam Del: non-english -- https://master.php.net/note/delete/103107/non-english Del: in docs -- https://master.php.net/note/delete/103107/in+docs Del: other reasons-- https://master.php.net/note/delete/103107 Reject -- https://master.php.net/note/reject/103107 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#178222) next »