3v4l.org

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