3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = 'entity:node/4d90bd7c-2669-4d76-b808-9ad839241dd8'; preg_match('/^entity\/[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-(8|9|a|b)[a-f0-9]{3}\-[a-f0-9]{12}/', $string, $m); print_r($m);
based on anLif
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.1.0 - 7.3.0alpha1
Array ( )