3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $subject = "abcdef"; $pattern = '~'; var_dump(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/VvaHK on line 4 bool(false)