Prepended constants with C_ to avoid reserved words as per https://www.php.net/manual...
[htmlpurifier/darkodev.git] / tests / HTMLPurifier / PHPT / loading / auto.phpt
bloba4ea716f9064c8f0ade2d1877609180c07e77568
1 --TEST--
2 HTMLPurifier.auto.php loading test
3 --FILE--
4 <?php
5 require '../library/HTMLPurifier.auto.php';
6 require 'HTMLPurifier/PHPT/loading/_autoload.inc';
7 $config = HTMLPurifier_Config::createDefault();
8 $purifier = new HTMLPurifier($config);
9 echo $purifier->purify('<b>Salsa!');
10 --EXPECT--
11 <b>Salsa!</b>