3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array('0'=>5,'1'=>6,'2'=>7); var_dump($a); list($b,$b,$c) = $a;
Output for 4.3.0 - 7.2.0
array(3) { [0]=> int(5) [1]=> int(6) [2]=> int(7) }