3v4l.org

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