3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $filePath = '/cv/67/6d/676d33634d07b95da37715d98575175f.dox'; preg_match('/cv\/[0-9a-z]{2}\/[0-9a-z]{2}\/[0-9a-z]{32}\.(?:text|html|doc|docx|xls|xlsx|mht|pdf)/is', $filePath, $result); print_r($result);
based on kEvLP
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.3.0beta1
Array ( )