note 46432 added to language.variables.variable

From: Date: Mon, 11 Oct 2004 14:03:46 +0000
Subject: note 46432 added to language.variables.variable
Groups: php.notes 
Request: Send a blank email to php-notes+get-78346@lists.php.net to get a copy of this message
Using array and variables variables: $arr_test = array(); $arr_test[0] = 'Piet Hein'; $arr_test[1] = 'Willem van Oranje'; $ls_example_0 = 'arr_test[0]'; $ls_example_1 = 'arr_test[1]'; eval("\$str = \"$$ls_example_0\";"); echo $str. "\n"; eval("echo \"$$ls_example_1\";"); ---- Manual Page -- http://www.php.net/manual/en/language.variables.variable.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+46432 Delete -- http://master.php.net/manage/user-notes.php?action=delete+46432&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+46432&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#78346) next »