3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( preg_match("/^[A-Za-z]+$/", "foo") );

preferences:
34.14 ms | 402 KiB | 5 Q