3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a=array('abc','def','ghi'); list($x,$y,$z) = $a; var_dump($x,$y,$z);
based on X6Ceg
Output for 4.3.0 - 7.1.0
string(3) "abc" string(3) "def" string(3) "ghi"