3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matches = []; preg_match_all("/%\w/", "%s %d", $matches); var_dump($matches);

preferences:
64.25 ms | 405 KiB | 5 Q