php echo curl_init function_exists curl_init ok fail echo br echo gzde

1
2
3
4
5
6
7
<?php
echo "curl_init: ".((function_exists('curl_init')) ? "ok" : "fail"); echo "<br>";
echo "gzdecode: ".((function_exists('gzdecode')) ? "ok" : "fail"); echo "<br>";
echo "DOMDocument: ".((class_exists('DOMDocument')) ? "ok" : "fail"); echo "<br>";
?>