summaryrefslogtreecommitdiff
path: root/ext/xsl/tests/xsltprocessor_hasExsltSupport.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/xsl/tests/xsltprocessor_hasExsltSupport.phpt')
-rw-r--r--ext/xsl/tests/xsltprocessor_hasExsltSupport.phpt13
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/xsl/tests/xsltprocessor_hasExsltSupport.phpt b/ext/xsl/tests/xsltprocessor_hasExsltSupport.phpt
new file mode 100644
index 000000000..226712930
--- /dev/null
+++ b/ext/xsl/tests/xsltprocessor_hasExsltSupport.phpt
@@ -0,0 +1,13 @@
+--TEST--
+Test the basics to function XSLTProcessor::hasExsltSupport().
+--CREDITS--
+Rodrigo Prado de Jesus <royopa [at] gmail [dot] com>
+--SKIPIF--
+<?php extension_loaded('xsl') or die('skip xsl extension is not available'); ?>
+--FILE--
+<?php
+$proc = new XSLTProcessor();
+var_dump($proc->hasExsltSupport());
+?>
+--EXPECTF--
+bool(true) \ No newline at end of file