note 103107 rejected from language.variables.variable by danbrown

From: Date: Fri, 25 Mar 2011 23:44:13 +0000
Subject: note 103107 rejected from language.variables.variable by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-178223@lists.php.net to get a copy of this message
Note Submitter: hrold at yahoo dot com ---- "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.

« previous php.notes (#178223) next »