3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $runfile = "http://localhost:5000/api/apollo/query-pipelines/autocorrect-typeahead-json/collections/autocorrect-typeahead/select?q=phys"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $runfile); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); $content = curl_exec ($ch); curl_close ($ch); echo $content; ?>
based on ja0rl
Output for 7.0.0 - 7.3.0rc3
Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/UEXiR:4 Stack trace: #0 {main} thrown in /in/UEXiR on line 4
Process exited with code 255.
Output for hhvm-3.15.4
Output for 5.6.0 - 5.6.30
Fatal error: Call to undefined function curl_init() in /in/UEXiR on line 4
Process exited with code 255.