3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php list($a, $b, $c) = array('a-value', 'b-value'); var_dump($a, $b, $c);
based on mhTVe
Output for 5.3.0 - 7.2.0
Notice: Undefined offset: 2 in /in/YOFkY on line 3 string(7) "a-value" string(7) "b-value" NULL
Output for 4.3.0 - 5.2.17
Notice: Undefined offset: 2 in /in/YOFkY on line 3 string(7) "a-value" string(7) "b-value" NULL