note 11728 added to strip_tags

From: Date: Sun, 04 Mar 2001 23:47:17 +0000
Subject: note 11728 added to strip_tags
Groups: php.notes 
Request: Send a blank email to php-notes+get-11848@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:$str\n"; $str = strip_tags($str); echo "2:$str\n"; produces: 1:foo <bar 2:foo http://www.php.net/manual/en/function.strip-tags.php

« previous php.notes (#11848) next »