3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match("/foo/", "foobar");

preferences:
33.04 ms | 402 KiB | 5 Q