mirror of
https://github.com/php/php-src.git
synced 2024-10-14 21:12:35 +00:00
2b4c2a2ff5
- A slight exif fix from the latest version of jhead - Make ext_skel's confirm_module_compiled function consistent
20 lines
442 B
PHP
20 lines
442 B
PHP
<?
|
|
if(!extension_loaded('extname')) {
|
|
dl('extname.so');
|
|
}
|
|
$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";
|
|
?>
|