3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ch2 = curl_init(); curl_setopt($ch2, CURLOPT_URL, "http://www.eil.com"); curl_setopt($ch2, CURLOPT_HEADER, true); curl_setopt($ch2, CURLOPT_RETURNTRANSFER, 1); $html = curl_exec($ch2); curl_close($ch2); echo $html;
based on BhPN5
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/0uUFi:2 Stack trace: #0 {main} thrown in /in/0uUFi on line 2
Process exited with code 255.
Output for 5.3.18 - 5.6.28
Fatal error: Call to undefined function curl_init() in /in/0uUFi on line 2
Process exited with code 255.