3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php <?php $messages[1] = 312; $messages[2] = 401; $messages[3] = 1599; $messages[4] = 3; array_diff($messages, array(3)); echo $messages;
Output for 7.0.0 - 7.0.2
Parse error: syntax error, unexpected '<', expecting end of file in /in/lGC0H on line 3
Process exited with code 255.
Output for 5.3.21 - 5.6.16
Parse error: syntax error, unexpected '<' in /in/lGC0H on line 3
Process exited with code 255.