3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php list($a, $b) = array(-1 => 'lol', 0 => a, 1 => b); var_dump($a, $b);
Output for 4.3.0 - 7.1.0
Notice: Use of undefined constant a - assumed 'a' in /in/8Wbbf on line 3 Notice: Use of undefined constant b - assumed 'b' in /in/8Wbbf on line 3 string(1) "a" string(1) "b"