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.11
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 hhvm-3.22.0
Array ( [scheme] => http [host] => google.nl [path] => /bla ) Fatal error: Uncaught Error: Call to undefined function basepath() in /in/EWK2o:-1 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.11.1 - 3.21.3
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}
Process exited with code 255.
Output for 5.3.18 - 5.6.38, hhvm-3.10.1
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.