aboutsummaryrefslogblamecommitdiffstats
path: root/lib/htmlpurifier/tests/HTMLPurifier/PHPT/domxml.phpt
blob: 406ac400bda8157c889565a1df68b7e1bbbfb43d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                 
--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