note 127526 added to language.variables.variable

From: Date: Wed, 24 Aug 2022 02:54:54 +0000
Subject: note 127526 added to language.variables.variable
Groups: php.notes 
Request: Send a blank email to php-notes+get-219465@lists.php.net to get a copy of this message
I've found this could be useful in some way for using on multidimensional arrays: $f="1";$g="2";$h="3"; $m="4";$n="5";$b="6"; $q="7";$w="8";$e="9"; $s="10";$d="11";$a="12"; $l="13";$o="14";$p="15"; $x="16";$c="17";$v="18"; $one=["f","g","h"]; $two=["m","n","b"]; $three=["q","w","e"]; $four=["s","d","a"]; $five=["l","o","p"]; $six=["x","c","v"]; $first = array("one", "two", "three") ; $second = array("four", "five", "six") ; $a = ["first","second"] ; print_r(${${${$a[1]}[1]}[1]}); // 16 ---- Server IP: 45.112.84.4 Probable Submitter: 185.85.3.175 (proxied: 181.4.163.106) ---- Manual Page -- https://php.net/manual/en/language.variables.variable.php Edit -- https://main.php.net/note/edit/127526 Del: integrated -- https://main.php.net/note/delete/127526/integrated Del: useless -- https://main.php.net/note/delete/127526/useless Del: bad code -- https://main.php.net/note/delete/127526/bad+code Del: spam -- https://main.php.net/note/delete/127526/spam Del: non-english -- https://main.php.net/note/delete/127526/non-english Del: in docs -- https://main.php.net/note/delete/127526/in+docs Del: other reasons-- https://main.php.net/note/delete/127526 Reject -- https://main.php.net/note/reject/127526 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#219465) next »