您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

22 行
482B

  1. <?php
  2. ini_set('xdebug.trace_format', 1);
  3. ini_set('xdebug.show_mem_delta', true);
  4. if (file_exists('Trace.xt')) {
  5. echo "Previous trace Trace.xt must be removed before this script can be run.";
  6. exit;
  7. }
  8. xdebug_start_trace(dirname(__FILE__) . '/Trace');
  9. require_once '../library/HTMLPurifier.auto.php';
  10. $purifier = new HTMLPurifier();
  11. $data = $purifier->purify(file_get_contents('samples/Lexer/4.html'));
  12. xdebug_stop_trace();
  13. echo "Trace finished.";
  14. // vim: et sw=4 sts=4