note 63637 added to language.variables

From: Date: Sun, 26 Mar 2006 17:43:26 +0000
Subject: note 63637 added to language.variables
Groups: php.notes 
Request: Send a blank email to php-notes+get-106643@lists.php.net to get a copy of this message
function test_bug(){ $arraylist = array( "_SERVER", "_POST", "_GET" ); foreach( $arraylist as $globalarray ){ echo $globalarray . "<br>"; foreach( ${$globalarray} as $key => $value ){ echo $key . "=" . $value . "<br>"; } } } This is not work. Why? ---- Server IP: 195.222.164.18 Probable Submitter: 85.140.65.79 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/language.variables.php Edit -- http://master.php.net/note/edit/63637 Del: integrated -- http://master.php.net/note/delete/63637/integrated Del: useless -- http://master.php.net/note/delete/63637/useless Del: bad code -- http://master.php.net/note/delete/63637/bad+code Del: spam -- http://master.php.net/note/delete/63637/spam Del: non-english -- http://master.php.net/note/delete/63637/non-english Del: in docs -- http://master.php.net/note/delete/63637/in+docs Del: other reasons-- http://master.php.net/note/delete/63637 Reject -- http://master.php.net/note/reject/63637 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#106643) next »