3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $value = 'htghfhgtp://static.theiconic.com.au/cms/site_updates/Week 42/MSS_1_150x245px.jpghttp://,http://,http://,http://'; $pattern = '/http:\/\//i'; preg_match_all($pattern, $value, $matches, PREG_PATTERN_ORDER); var_dump($matches);
based on hFF9E
Output for 5.6.0 - 5.6.38, hhvm-3.15.4, 7.0.0 - 7.3.1
array(1) { [0]=> array(4) { [0]=> string(7) "http://" [1]=> string(7) "http://" [2]=> string(7) "http://" [3]=> string(7) "http://" } }