3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a=array('abc','def','ghi'); list($x,$y) = $a; var_dump($x,$y,$z);
based on NelFm
Output for 5.0.4 - 7.1.7
Notice: Undefined variable: z in /in/O0Lrd on line 6 string(3) "abc" string(3) "def" NULL
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: z in /in/O0Lrd on line 6 string(3) "abc" string(3) "def" NULL