Files
pecl-php-blenc/blenc.php
John Coggeshall bef61bc96b Initial Import
2004-06-03 03:38:22 +00:00

20 lines
453 B
PHP

<?
if(!extension_loaded('blenc')) {
dl('blenc.' . PHP_SHLIB_SUFFIX);
}
$module = 'blenc';
$functions = get_extension_funcs($module);
echo "Functions available in the test extension:<br>\n";
foreach($functions as $func) {
echo $func."<br>\n";
}
echo "<br>\n";
$function = 'confirm_' . $module . '_compiled';
if (extension_loaded($module)) {
$str = $function($module);
} else {
$str = "Module $module is not compiled into PHP";
}
echo "$str\n";
?>