<?php $str = 'producturl.php?id=736375493?=tm'; var_dump( sscanf($str, '%*[^?]?id=%d')[0] );
You have javascript disabled. You will not be able to edit any code.