3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'producturl.php?id=736375493?=tm'; echo preg_match('~id=\K\d+~', $str, $out) ? $out[0] : 'no match';

This is an error 404

There are `0` results


preferences:
137.85 ms | 1015 KiB | 7 Q