3v4l.org

run code in 300+ PHP versions simultaneously
<?php array_diff(range(1,1000), range(500,1500));

preferences:
47.27 ms | 402 KiB | 5 Q