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
string(1) "a" string(1) "b"