3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $$x = $aaa[3]; var_dump($x);
Output for 5.1.0 - 5.6.28, 7.0.3 - 7.1.0
Notice: Undefined variable: aaa in /in/e5Boi on line 2 Notice: Undefined variable: x in /in/e5Boi on line 2 Notice: Undefined variable: x in /in/e5Boi on line 3 NULL
Output for 5.0.4 - 5.0.5, 7.0.0 - 7.0.2
Notice: Undefined variable: x in /in/e5Boi on line 2 Notice: Undefined variable: aaa in /in/e5Boi on line 2 Notice: Undefined variable: x in /in/e5Boi on line 3 NULL
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: x in /in/e5Boi on line 2 Notice: Undefined variable: aaa in /in/e5Boi on line 2 Notice: Undefined variable: x in /in/e5Boi on line 3 NULL