note 30294 added to tokens

From: Date: Thu, 13 Mar 2003 11:25:38 +0000
Subject: note 30294 added to tokens
Groups: php.notes 
Request: Send a blank email to php-notes+get-45208@lists.php.net to get a copy of this message
echo "foo is $_GET[foo][2]"; // don't works echo "foo is {$_GET['foo'][2]}"; // works echo "foo is ".$_GET[foo][2]; // works if "foo" is not a defined constant -- http://www.php.net/manual/en/tokens.php http://master.php.net/manage/user-notes.php?action=edit+30294 http://master.php.net/manage/user-notes.php?action=delete+30294 http://master.php.net/manage/user-notes.php?action=reject+30294

« previous php.notes (#45208) next »