3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php list($a, $b) = 'aaaa'; echo $a, PHP_EOL, $b;
Output for 4.3.10 - 4.4.9, 5.0.2 - 5.0.5, 5.2.2 - 7.1.0
Output for 5.1.0 - 5.2.1
Fatal error: Invalid opcode 98/1/1. in /in/l3MbC on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/l3MbC on line 5 PHP_EOL