note 51154 deleted from language.variables.variable by cmb

From: Date: Sun, 12 Jan 2020 08:24:45 +0000
Subject: note 51154 deleted from language.variables.variable by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-213859@lists.php.net to get a copy of this message
Note Submitter: rafael at fuchs inf br ---- You can use constants in variable variables, like I show below. This works fine: <?php define("TEST","Fuchs"); $Fuchs = "Test"; echo TEST . "<BR>"; echo ${TEST}; ?> output: Fuchs Test

« previous php.notes (#213859) next »