3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matches = new stdClass; preg_match("((foo)+)", "foo", $matches); var_dump($matches);

preferences:
43.56 ms | 405 KiB | 5 Q