php71-krisp

Description:

php 7.1 KRISP 확장

Features:

sample codes:

<?php
$searches = array ('oops.org', 'kornet.net', 'yahoo.com', 'kldp.org');

try {
    $kr = new KRISP ();

    $kr->mtimeInterval (0);
    $kr->debug ();

    foreach ( $searches as $v ) {
        $r = $kr->search ($v);

        if ( $r === false )
            continue;

        print_r ($r);
        $kr->debug (false);
    }

    $kr->close ();
} catch ( KRISPException $e ) {
    fprintf (STDERR, "%s\n", $e->getMessage ());
    $err = preg_split ('/\r?\n/', $e->getTraceAsString ());
    print_r ($err);
}
?>

Reference:

Dependencies:

Sub Packages:

  • None

Releated Packages:

Last updated