3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match('/.+\s\(ID:(.*)\)$/', 'abc (xyz) (ID:http://example.com)', $match); print_r($match);

preferences:
50.87 ms | 402 KiB | 5 Q