3 ini_set('xdebug.trace_format', 1);
4 ini_set('xdebug.show_mem_delta', true);
6 if (file_exists('Trace.xt')) {
7 echo "Previous trace Trace.xt must be removed before this script can be run.";
11 xdebug_start_trace(dirname(__FILE__
) . '/Trace');
12 require_once '../library/HTMLPurifier.auto.php';
14 $purifier = new HTMLPurifier();
16 $data = $purifier->purify(file_get_contents('samples/Lexer/4.html'));
19 echo "Trace finished.";