3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "This is my test case for an example."; preg_match_all( "/(?=(\S+ \S+))\S+ /", $string, $m ); var_export($m[1]);

preferences:
58.85 ms | 405 KiB | 5 Q