]> granicus.if.org Git - php/commitdiff
Initial import, PHP program for testing if the qtdom extension is available.
authorJan Borsodi <amos@php.net>
Wed, 15 Nov 2000 19:02:14 +0000 (19:02 +0000)
committerJan Borsodi <amos@php.net>
Wed, 15 Nov 2000 19:02:14 +0000 (19:02 +0000)
ext/qtdom/qtdom.php [new file with mode: 0644]

diff --git a/ext/qtdom/qtdom.php b/ext/qtdom/qtdom.php
new file mode 100644 (file)
index 0000000..8db4e64
--- /dev/null
@@ -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";
+?>