3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = 'http://www.google.com'; print_R(preg_match('/:\/\//', $url, $match)); print_R($match);
based on A3ZWa
Output for 4.3.0 - 7.2.0
1Array ( [0] => :// )