3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array('a', 'b', 'c', 'd', 'e'); list($b, $c) = $a; echo $b; echo $c; var_dump($a);
Output for 4.3.0 - 4.4.0, 4.4.2 - 7.1.0
abarray(5) { [0]=> string(1) "a" [1]=> string(1) "b" [2]=> string(1) "c" [3]=> string(1) "d" [4]=> string(1) "e" }
Output for 4.4.1

Process exited with code 143.