mirror of
https://github.com/php/pecl-text-ssdeep.git
synced 2026-03-23 23:02:09 +01:00
13 lines
299 B
PHP
13 lines
299 B
PHP
<?php
|
|
$br = (php_sapi_name() == "cli")? "":"<br>";
|
|
|
|
if(!extension_loaded('ssdeep')) {
|
|
dl('ssdeep.' . PHP_SHLIB_SUFFIX);
|
|
}
|
|
$module = 'ssdeep';
|
|
$functions = get_extension_funcs($module);
|
|
echo "Functions available in the test extension:$br\n";
|
|
foreach($functions as $func) {
|
|
echo $func."$br\n";
|
|
}
|