note 115721 added to language.variables.variable

From: Date: Fri, 12 Sep 2014 14:44:17 +0000
Subject: note 115721 added to language.variables.variable
Groups: php.notes 
Request: Send a blank email to php-notes+get-200432@lists.php.net to get a copy of this message
<?php $key = 'post'; $type = '_'.strtoupper($key); $copy = ${$type}; // is a copy of $_POST // btw: $reference = &${$type}; // is a ref to $_POST ?> ---- Server IP: 72.52.91.14 Probable Submitter: 146.52.81.17 ---- Manual Page -- http://php.net/manual/en/language.variables.variable.php Edit -- https://master.php.net/note/edit/115721 Del: integrated -- https://master.php.net/note/delete/115721/integrated Del: useless -- https://master.php.net/note/delete/115721/useless Del: bad code -- https://master.php.net/note/delete/115721/bad+code Del: spam -- https://master.php.net/note/delete/115721/spam Del: non-english -- https://master.php.net/note/delete/115721/non-english Del: in docs -- https://master.php.net/note/delete/115721/in+docs Del: other reasons-- https://master.php.net/note/delete/115721 Reject -- https://master.php.net/note/reject/115721 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#200432) next »