3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php list() = $a; list(,,) = $a; list($x, list(), $y) = $a;
Output for 7.0.0 - 7.0.1
Fatal error: Cannot use empty list in /in/VRcj0 on line 3
Process exited with code 255.
Output for 5.3.21 - 5.6.28
Notice: Undefined variable: a in /in/VRcj0 on line 5 Notice: Undefined variable: a in /in/VRcj0 on line 5