<?php
if (!extension_loaded('curl')) {
    echo "curl is not available\n";
} else {
    echo "curl is available\n";
}
?>
