3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print preg_replace('`^https\:`', 'http:', 'https://google.com');
based on tuT4n
Output for 4.3.0 - 7.2.0
http://google.com