3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $_SERVER = array('HTTP_HOST' => 'nakka.me'); $a = '_SERVER'; $b = 'HTTP_HOST'; $c = $$a; var_export($c[$b]);
based on pgT9B
Output for 4.3.0 - 7.2.0
'nakka.me'