3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match('~a(?=(b|b\K))b~', 'abc', $matches); print_r($matches); preg_match('~a(?=(bx|b\K))b~', 'abc', $matches); print_r($matches);

preferences:
30.77 ms | 405 KiB | 5 Q