3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r(parse_url('http://google.nl/bla')); echo basepath('http://google.nl/bla');
based on ojRXv
Output for 7.0.0 - 7.2.0
Array ( [scheme] => http [host] => google.nl [path] => /bla ) Fatal error: Uncaught Error: Call to undefined function basepath() in /in/EWK2o:4 Stack trace: #0 {main} thrown in /in/EWK2o on line 4
Process exited with code 255.
Output for 5.3.18 - 5.6.28
Array ( [scheme] => http [host] => google.nl [path] => /bla ) Fatal error: Call to undefined function basepath() in /in/EWK2o on line 4
Process exited with code 255.