3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = ` jwplayer("video").setup({ sources: [{file: "https://video-sin6-1.xx.fbcdn.net/v/t42.1790-2/15187564_1807282012817349_2784779820322521088_n.mp4?efg=eyJ2ZW5jb2RlX3RhZyI6InN2ZV9zZCJ9&oh=04f1903e14ab38abc164cf758ff00a12&oe=5895A4FA",label: "SD",type: "mp4"},{file: "https://fb-l-d-a.akamaihd.net/h-ak-xfp1/v/t42.9040-2/10000000_783134288494468_3805984998767460352_n.mp4?efg=eyJ2ZW5jb2RlX3RhZyI6InN2ZV9oZCJ9&oh=2f331560a61d8e10c30352d3614718a5&oe=58958F31&__gda__=1486195510_04258e730e7045129e18e2352e66344f",label: "HD",type: "mp4",default: "true"}], title: "", primary: "html5", aspectratio: "16:9", width: '100%', height: '100%', fullscreen: "true", autostart: false, image:'http://thum.arai.space/1156112877814148/picture', sharing: { code: "<iframe src='//arai.space/embed.php?v=1156112877814148' width='640' height='360' frameborder='0' allowfullscreen></iframe>", link: "http://arai.space/1156112877814148" } }); jwplayer().addButton("/lib/download.png","Download Video",function() {window.top.location.href='http://arai.space/1156112877814148'},"download"); `; preg_match_all("/file(.)/", $url, $list); var_dump(($list));
based on 7dt0c
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0alpha1
array(2) { [0]=> array(0) { } [1]=> array(0) { } }
Output for hhvm-3.15.4
array(2) { [0]=> array(2) { [0]=> string(5) "file:" [1]=> string(5) "file:" } [1]=> array(2) { [0]=> string(1) ":" [1]=> string(1) ":" } }