3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = 'https://www.google.dk/search?q=php+repl&oq=php+rep&aqs=chrome.0.0l3j69i57j0l2.1087j0j4&sourceid=chrome&es_sm=91&ie=UTF-8'; $p = parse_url( $url ); $u = build_url( $p ); var_dump( $u );
based on QD6Ic
Output for 7.0.0 - 7.3.0alpha1
Fatal error: Uncaught Error: Call to undefined function build_url() in /in/7d51B:5 Stack trace: #0 {main} thrown in /in/7d51B on line 5
Process exited with code 255.
Output for 5.3.22 - 5.6.28
Fatal error: Call to undefined function build_url() in /in/7d51B on line 5
Process exited with code 255.