3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str='175.160.166.8 - - [15/May/2013:22:07:55 +0800] "GET /downfile/975-2013.05.15-20.00.mp3 HTTP/1.1" 206 622360 "http://fm.jybox.net/" "Mozilla/5.0 (Linux; U; Android 4.0.3; zh-cn; Lenovo P700 Build/IML74K) AppleWebKit/533.1 (KHTML, like Gecko) Mobile Safari/533.1"'; preg_match_all('%\/(.+)\.mp3%', $str, $r); print_r($r);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [0] => Array ( [0] => /May/2013:22:07:55 +0800] "GET /downfile/975-2013.05.15-20.00.mp3 ) [1] => Array ( [0] => May/2013:22:07:55 +0800] "GET /downfile/975-2013.05.15-20.00 ) )