3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match("/^PHP$/", "APHP", $matches); VAR_DUMP($matches); ?>

preferences:
51.86 ms | 402 KiB | 5 Q