3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ch = curl_init('https://pste.eu/api'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Apikey: sF9Da8187X5fdi6Et00HXWB4WK6wN8LS', 'input: <html></html>')); $result = curl_exec($ch); curl_close($ch); echo $result;
Output for 7.0.0 - 7.3.0rc3
Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/9P0N8:3 Stack trace: #0 {main} thrown in /in/9P0N8 on line 3
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/9P0N8 on line 3
Process exited with code 255.