note 11728 deleted from function.strip-tags by philip
| From: | philip@php.net | Date: | Fri, 21 Sep 2001 15:15:01 +0000 |
| Subject: | note 11728 deleted from function.strip-tags by philip | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-18143@lists.php.net to get a copy of this message | ||
i wonder is it bug or feature, that strip_tags() also kills not closed "tags"
$str = 'foo <bar';
echo "1:$strn";
$str = strip_tags($str);
echo "2:$strn";
produces:
1:foo <bar
2:foo