3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $subject = "abcdef"; $pattern = '~'; preg_match($pattern, substr($subject,3), $matches, PREG_OFFSET_CAPTURE); print_r($matches); ?>
Output for 5.6.30
Warning: preg_match(): No ending delimiter '~' found in /in/PqmpJ on line 4