ID:               45340
 Updated by:       [EMAIL PROTECTED]
 Reported By:      viperfan at gmx dot net
-Status:           Open
+Status:           Bogus
 Bug Type:         Output Control
 Operating System: Debian
 PHP Version:      5.2.6
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

>From the manual page for strip_tags(): 

"Warning

Because strip_tags() does not actually validate the HTML, partial, or
broken tags can result in the removal of more text/data than expected."



Previous Comments:
------------------------------------------------------------------------

[2008-06-23 20:44:10] viperfan at gmx dot net

of course 

strip_tag("Hi (>username<), how are you") 


was meant

------------------------------------------------------------------------

[2008-06-23 20:42:06] viperfan at gmx dot net

Description:
------------
strip_tags() returns mutilated text when a "<" (open html tag) is
directly followed by ( (open brackets)

eg.

strip_crap("Hi (>username<), how are you") 

everthing after "(>username" is chopped off




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45340&edit=1

Reply via email to