<?php
$variableName = 'MyVariable';
// Create new variable with the name defined in variable $variableName
${$variableName} = 'MyValue';
//Outputs: string(7) "MyValue"
v($MyVariable);
//Outputs: string(7) "MyValue"
var_dump(${'MyVariable'});
Fatal error: Uncaught Error: Call to undefined function v() in /in/FA9a9:6
Stack trace:
#0 {main}
thrown in /in/FA9a9 on line 6
Process exited with code 255.