<?php echo $sanitizer->useStripTags("<script>alert('This is js code');</script>");
info at phpclasses dot org