PHP 4.0 Bug #9072 Updated: unexpected behavior in strip_tags

From: Date: Fri, 02 Feb 2001 13:48:59 +0000
Subject: PHP 4.0 Bug #9072 Updated: unexpected behavior in strip_tags
Groups: php.dev 
Request: Send a blank email to php-dev+get-45606@lists.php.net to get a copy of this message
ID: 9072 Updated by: rasmus Reported By: ctuffli@yahoo.com Old-Status: Open Status: Closed Bug Type: Feature/Change Request Assigned To: Comments: Fixed in CVS Previous Comments: --------------------------------------------------------------------------- [2001-02-02 08:08:13] ctuffli@yahoo.com php setup: ./configure --with-apxs=/usr/local/etc/httpd/bin/apxs --enable-versioning --with-mysql --enable-track-vars script: <?php print strip_tags("> from an earlier emailn"); ?> prints X-Powered-By: PHP/4.0.4 Content-type: text/html from an earlier email and not > from an earlier email I'm writting an application which prints email messages and noticed this behavior in messages that quoted the previous message with the string "> ". I expected strip_tags to do the equivalent of ereg_replace("<[^>]*>", "", $msg) --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=9072

« previous php.dev (#45606) next »