strip html tags from some text

strip html tags from some text

<?php
$text='This is a<script>script in here </script>';

// Strip that tag
echo (strip_tags($text));
?>