3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $p = "oauth2provider.server.main.grant_type."; preg_match('~^oauth2provider.server(?:.([a-zA-Z0-9_]+))(?:.(grant_type|storage))(?:.([a-zA-Z0-9_]+))*$~', $p, $m); var_dump($m);
Output for 4.3.0 - 7.2.0
array(0) { }