xsltprocessor_hasExsltSupport.phpt 332 B

12345678910111213
  1. --TEST--
  2. Test the basics to function XSLTProcessor::hasExsltSupport().
  3. --CREDITS--
  4. Rodrigo Prado de Jesus <royopa [at] gmail [dot] com>
  5. --SKIPIF--
  6. <?php extension_loaded('xsl') or die('skip xsl extension is not available'); ?>
  7. --FILE--
  8. <?php
  9. $proc = new XSLTProcessor();
  10. var_dump($proc->hasExsltSupport());
  11. ?>
  12. --EXPECTF--
  13. bool(true)