3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $b = 'b'; $a = '$b'; echo $a; echo $$a; echo $$$a;
Output for 5.0.4 - 7.2.0
$b Notice: Undefined variable: $b in /in/LJQ2G on line 6 Notice: Undefined variable: $b in /in/LJQ2G on line 7 Notice: Undefined variable: in /in/LJQ2G on line 7
Output for 4.3.0 - 5.0.3
$b Notice: Undefined variable: $b in /in/LJQ2G on line 6 Notice: Undefined variable: $b in /in/LJQ2G on line 7 Notice: Undefined variable: in /in/LJQ2G on line 7