3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = $b = 1; list($a, $b) = 18; var_dump($a, $b);
based on dYf0N
Output for 4.3.0 - 5.0.5, 5.2.2 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
NULL NULL
Output for 5.1.0 - 5.2.1
Fatal error: Invalid opcode 98/1/1. in /in/nDsiE on line 3
Process exited with code 255.