3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(preg_replace('#(http|https):\/\/([.a-zA-Z0-9]*)mailjet\.([\S]*)#', '//$2mailjet.$3', 'http://test.mailjet.com/?url=http://example.mailjet.com'))
Output for 7.3.0rc3
Parse error: syntax error, unexpected end of file in /in/9BsRi on line 3
Process exited with code 255.