- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patht.php
More file actions
Latest commit
21 lines (20 loc) · 487 Bytes
/
Copy patht.php
File metadata and controls
21 lines (20 loc) · 487 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
$br = (php_sapi_name() == "cli")? "":"<br>";
if(!extension_loaded('t')) {
dl('t.' . PHP_SHLIB_SUFFIX);
}
$module = 't';
$functions = get_extension_funcs($module);
echo"Functions available in the test extension:$br\n";
foreach($functionsas$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";
?>