3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $src = '//player.vimeo.com/video/36899035'; preg_match('#vimeo\.com(\w*\/)*/(\d+)#i',$src,$output); var_dump($output);
based on 5eWCH
Output for 4.3.0 - 7.1.0
array(0) { }