3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(http_build_url("http://user@www.example.com/pub/index.php?x=b#files", array( "scheme" => "ftp", "host" => "ftp.example.com", "path" => "files/current/", "query" => "a=c" ), HTTP_URL_STRIP_AUTH | HTTP_URL_JOIN_PATH | HTTP_URL_JOIN_QUERY | HTTP_URL_STRIP_FRAGMENT ))
Output for 5.4.0 - 5.5.10
Parse error: syntax error, unexpected end of file in /in/e9gFt on line 11
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/e9gFt on line 11
Process exited with code 255.