1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-12 15:51:17 +01:00
vichan/inc/lib/htmlpurifier-4.5.0/tests/HTMLPurifier/PHPT/domxml.phpt
2014-09-23 23:25:04 +00:00

15 lines
396 B
PHP

--TEST--
DirectLex with domxml test
--SKIPIF--
<?php
if (!extension_loaded('dom')) {
echo "skip - dom not available";
} elseif (!extension_loaded('domxml')) {
echo "skip - domxml not loaded";
}
--FILE--
<?php
require '../library/HTMLPurifier.auto.php';
echo get_class(HTMLPurifier_Lexer::create(HTMLPurifier_Config::createDefault()));
--EXPECT--
HTMLPurifier_Lexer_DirectLex