From: [EMAIL PROTECTED]
Operating system: RedHat 6.1
PHP version: 4.0.4
PHP Bug Type: Feature/Change Request
Bug description: unexpected behavior in strip_tags
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 email\n");
?>
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)
--
Edit Bug report at: http://bugs.php.net/?id=9072&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]