- var_dump: documentation ( source)
<?php
$variableName = '7 + 3';
// Create new variable with the name defined in variable $variableName
${$variableName} = '7 + 3';
//Outputs: string(7) "MyValue"
var_dump($MyVariable);
//Outputs: string(7) "MyValue"
var_dump(${'MyVariable'});