3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match_all('~([a-z])([0-9])~', 'b53d34', $matches); print_r($matches); print str_repeat('=-', 42); preg_match_all('~([a-z])([0-9])~', 'b53d34', $matches, PREG_OFFSET_CAPTURE); print_r($matches);

preferences:
37.97 ms | 402 KiB | 5 Q