3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // Create a curl handle $ch = curl_init('http://a.localytics.com/attribute?partner=yozio&secret=7df665ae8ef0fc996438c90-70cf5892-4500-11e5-f506-008b20abc1fa&app_id=d7897222f3b76bcdf4f8af83aec3fa60c6c5e014&bundle=com.yozio.yozio_android_sample_app&platform=android&android_dpid=7f8c0a75b4f3f250&ad_network=localytics&click_ts=1442441878000&campaign_name=YozioCampaign&adgroup_name=YozioAdgroup&creative_name=YoYo&click_id=YCDnWm3F1442441882530&click_cost=0.0'); // Execute curl_exec($ch); // Check if any error occurred if(!curl_errno($ch)) { $info = curl_getinfo($ch); echo 'Took ' . $info['total_time'] . ' seconds to send a request to ' . $info['url']; } // Close handle curl_close($ch);
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/IKNaY:5 Stack trace: #0 {main} thrown in /in/IKNaY on line 5
Process exited with code 255.
Output for 5.3.18 - 5.6.28
Fatal error: Call to undefined function curl_init() in /in/IKNaY on line 5
Process exited with code 255.