3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = array(1,2,3); list($a,$b) = $x; var_dump($a,$b,$c);
Output for 5.3.28 - 5.3.29, 5.4.20 - 7.1.0
Notice: Undefined variable: c in /in/DTuee on line 4 int(1) int(2) NULL
Output for 5.0.4 - 5.3.27, 5.4.0 - 5.4.19
Notice: Undefined variable: c in /in/EPUtD on line 4 int(1) int(2) NULL
Output for 4.3.1 - 5.0.3
Notice: Undefined variable: c in /in/EPUtD on line 4 int(1) int(2) NULL
Output for 4.3.0
Notice: Undefined variable: c in /in/DTuee on line 4 int(1) int(2) NULL