mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
Initial import, PHP program for testing if the qtdom extension is available.
This commit is contained in:
parent
bde531da79
commit
51011a6672
10
ext/qtdom/qtdom.php
Normal file
10
ext/qtdom/qtdom.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?
|
||||
$module = 'qtdom';
|
||||
$function = 'confirm_' . $module . '_compiled';
|
||||
if (extension_loaded($module)) {
|
||||
$str = $function($module);
|
||||
} else {
|
||||
$str = "Module $module is not compiled into PHP";
|
||||
}
|
||||
echo "$str\n";
|
||||
?>
|
Loading…
Reference in New Issue
Block a user