3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $subject = 'd-123'; var_dump( preg_match('/\bthis is:d-(\d+),i think\b/', $subject, $matches) ); var_dump( $matches );
based on G2fGK
Output for 4.3.0 - 7.2.0
int(0) array(0) { }