Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 75a2c0d715
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (20 sloc) 0.505 kb
<?php
$br = (php_sapi_name() == "cli")? "":"<br>";
if(!extension_loaded('extname')) {
dl('extname.' . PHP_SHLIB_SUFFIX);
}
$module = 'extname';
$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";
?>
Jump to Line
Something went wrong with that request. Please try again.