My name is Vasyl Khrystiuk‎ > ‎pub‎ > ‎php‎ > ‎

fast curl n json check

Tags: php_tag, json_tag, curl_tag

<?php
echo "<h1>This is test page</h1><br>";
if (!function_exists('curl_init')) {
    echo "<strong>curl not find!!!</strong><br>";
}else{
    echo "<strong>curl ok</strong><br>";
}
if (!function_exists('json_decode')) {
    echo "<strong>JSON PHP extension not find!!!</strong><br>";
}else{
    echo "<strong>JSON PHP extension ok</strong><br>";
}


?>
Comments