3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(in_array('string', array(0, 1, 2)));

preferences:
37.72 ms | 402 KiB | 5 Q