curl_exists = function_exists('curl_init'); } }} $api = new ATCApi(); echo $api->curl_exists; ?>