3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array('1'=>5,'2'=>6,'3'=>7); var_dump($a); list($b,$b,$c) = $a;
Output for 5.3.0 - 7.1.0
array(3) { [1]=> int(5) [2]=> int(6) [3]=> int(7) } Notice: Undefined offset: 0 in /in/48QNj on line 5
Output for 4.3.0 - 5.2.17
array(3) { [1]=> int(5) [2]=> int(6) [3]=> int(7) } Notice: Undefined offset: 0 in /in/48QNj on line 5