3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo in_array(1, [1,2,3]) ?>

preferences:
35.51 ms | 402 KiB | 5 Q