3v4l.org

run code in 200+ PHP versions simultaneously
<?php <?php $relate_to = array(11,22); $before = ''; $relate_to_before = explode(',', $before); sort($relate_to_before); $relate_to_new = array_diff($relate_to, $relate_to_before); var_dump($relate_to_new);
Output for 7.1.25 - 7.4.0rc2
Parse error: syntax error, unexpected '<', expecting end of file in /in/pN574 on line 3
Process exited with code 255.