3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = preg_match('[asdf]','asdf'); echo array_flip(get_defined_constants(true)['pcre'])[preg_last_error()];
Output for 7.1.6
PREG_NO_ERROR