SyntaxFix
Write A Post
Hire A Developer
Questions
Just return your existing check from a function.
function _isCurl(){ return function_exists('curl_version'); }