Lookup($query,false); echo '
';
    print_r($result);
    echo '
'; } function sig() { throw new Exception; } try { pcntl_alarm(5); pcntl_signal(SIGALRM, "sig"); whoislookup('layso.de'); pcntl_alarm(0); } catch(Exception $e) { echo "timeout\n"; } ?>