3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(-1); ini_set("display_errors","1"); $url = "http://nu.nl"; echo "Start\n"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_TIMEOUT, 4); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $result = curl_exec($ch); curl_close($ch); var_dump( $result); echo "\ndone";
Output for 7.0.0 - 7.2.0
Start Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/kduWR:7 Stack trace: #0 {main} thrown in /in/kduWR on line 7
Process exited with code 255.
Output for 5.0.0 - 5.6.28
Start Fatal error: Call to undefined function curl_init() in /in/kduWR on line 7
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Start Fatal error: Call to undefined function: curl_init() in /in/kduWR on line 7
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Start Fatal error: Call to undefined function: curl_init() in /in/kduWR on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Start Fatal error: Call to undefined function: curl_init() in /in/kduWR on line 7