3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $file = '0004f21edd14-boot.cfg'; echo preg_match('/\A0004f2([a-fA-F0-9]{6})-(boot\.log|app\.log|now-boot\.log)?\Z/', $file, $d); print_r($d);
Output for 4.3.0 - 7.1.0
0Array ( )