3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "string: hi, it is string."; preg_match_all('/[a-z]+/i', $str, $matches); print_r($matches[0]);

preferences:
36.17 ms | 402 KiB | 5 Q