header('Content-type: text/html; charset=utf-8');
$start = microtime(true);
require('TagsStripper.php');
$tagsObj = TagsAllowed::getForArticlesFactory();
$stripper = new TagsStripper($tagsObj);
$str = 'as1sa asdlkj asdpo aid ap';
echo $res = $stripper->parse($str);
echo "
\n";
$str = 'as1sa';
echo $res = $stripper->parse($str);
?>
=(microtime(true) - $start);
?>