mirror of
https://github.com/php/php-src.git
synced 2024-11-28 20:34:29 +08:00
453a4ae985
see example1 for whats possible right now
11 lines
213 B
PHP
11 lines
213 B
PHP
<?
|
|
$module = 'ncurses';
|
|
$function = 'confirm_' . $module . '_compiled';
|
|
if (extension_loaded($module)) {
|
|
$str = $function($module);
|
|
} else {
|
|
$str = "Module $module is not compiled into PHP";
|
|
}
|
|
echo "$str\n";
|
|
?>
|