3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://www.hoteliermiddleeast.com/directory/search/advanced/?Page=1&CompanyName=&CategoryText=&SubCategory%5B%5D=0&Country%5B%5D=0&SubCatText=&CountryText=#result'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $return = json_decode(curl_exec($ch), true); curl_close($ch); print_r($return);
based on AahlN
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/XkfCp:2 Stack trace: #0 {main} thrown in /in/XkfCp on line 2
Process exited with code 255.
Output for 5.3.20 - 5.6.28
Fatal error: Call to undefined function curl_init() in /in/XkfCp on line 2
Process exited with code 255.