3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a="b"; $b="c"; $c="d"; $d="e"; $e="f"; echo $a."-"; echo $$a."-"; //Same as $b echo $$$a."-"; //Same as $$b or $c echo $$$$a."-"; //Same as $$$b or $$c or $d echo $$$$$a; //Same as $$$$b or $$$c or $$d or $e?>
Output for 4.3.0 - 7.1.0
b-c-d-e-f