note 91746 deleted from language.variables.variable by cmb
| From: | cmb@php.net | Date: | Sun, 12 Jan 2020 08:24:03 +0000 |
| Subject: | note 91746 deleted from language.variables.variable by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-213857@lists.php.net to get a copy of this message | ||
Note Submitter: moomin
----
If $something is 'myvar' then you can use $obj->{"_$something"} to get the
value of $obj->_myvar without having to use eval.