note 84354 added to language.variables.variable

From: Date: Thu, 10 Jul 2008 10:10:53 +0000
Subject: note 84354 added to language.variables.variable
Groups: php.notes 
Request: Send a blank email to php-notes+get-141351@lists.php.net to get a copy of this message
Does the variable variables in PHP applies to class member functions? if: $a='hello'; $$a='world'; is allowed, is this possible? $a='class->method()'; $$a; will it return a value? -roy- ---- Server IP: 208.69.120.35 Probable Submitter: 167.1.146.100 ---- Manual Page -- http://www.php.net/manual/en/language.variables.variable.php Edit -- https://master.php.net/note/edit/84354 Del: integrated -- https://master.php.net/note/delete/84354/integrated Del: useless -- https://master.php.net/note/delete/84354/useless Del: bad code -- https://master.php.net/note/delete/84354/bad+code Del: spam -- https://master.php.net/note/delete/84354/spam Del: non-english -- https://master.php.net/note/delete/84354/non-english Del: in docs -- https://master.php.net/note/delete/84354/in+docs Del: other reasons-- https://master.php.net/note/delete/84354 Reject -- https://master.php.net/note/reject/84354 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#141351) next »