3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //Host blir asd.com, men IE redirectar till example.com print_r(parse_url("http://example%2ecom%2fhello@"));
based on vZiYO
Output for 5.3.3 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Output for 5.2.0 - 5.3.2
Warning: parse_url(http://example%2ecom%2fhello@): Unable to parse URL in /in/oZ8bV on line 3
Output for 4.3.2 - 5.1.6
Warning: parse_url(http://example%2ecom%2fhello@): Unable to parse url in /in/oZ8bV on line 3
Output for 4.3.0 - 4.3.1
Warning: parse_url(http://example%2ecom%2fhello@) [http://www.php.net/function.parse-url]: Unable to parse url in /in/oZ8bV on line 3