3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $subject = "Idstatus"; $pattern = '/^id/'; preg_match($pattern, substr($subject,3), $matches, PREG_OFFSET_CAPTURE); print_r($matches);
based on NYOmk
Output for 5.6.0 - 7.3.0beta1
Array ( )