You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
382B

  1. --TEST--
  2. DirectLex with domxml test
  3. --SKIPIF--
  4. <?php
  5. if (!extension_loaded('dom')) {
  6. echo "skip - dom not available";
  7. } elseif (!extension_loaded('domxml')) {
  8. echo "skip - domxml not loaded";
  9. }
  10. --FILE--
  11. <?php
  12. require '../library/HTMLPurifier.auto.php';
  13. echo get_class(HTMLPurifier_Lexer::create(HTMLPurifier_Config::createDefault()));
  14. --EXPECT--
  15. HTMLPurifier_Lexer_DirectLex