php-src/ext/ncurses/ncurses.php
Hartmut Holzgraefe 453a4ae985 initial version of ncurses extension,
see example1 for whats possible right now
2001-06-12 21:15:49 +00:00

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";
?>