Doc #68134 [Opn]: strip_tags note isn't valid for php version 5.3.4 & higher

From: Date: Wed, 06 May 2015 14:15:41 +0000
Subject: Doc #68134 [Opn]: strip_tags note isn't valid for php version 5.3.4 & higher
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12299@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68134&edit=1 ID: 68134 Updated by: cmb@php.net Reported by: korikulum at net dot hr Summary: strip_tags note isn't valid for php version 5.3.4 & higher Status: Open Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Related to #69023. Previous Comments: ------------------------------------------------------------------------ [2014-10-02 19:17:12] korikulum at net dot hr Description: ------------ The following note on the strip_tags page (http://php.net/manual/en/function.strip-tags.php) isn't valid for php version 5.3.4 & higher: This parameter should not contain whitespace. strip_tags() sees a tag as a case-insensitive string between < and the first whitespace or >. It means that strip_tags("<br/>", "<br>") returns an empty string. This has been fixed in version 5.3.4: http://php.net/ChangeLog-5.php#5.3.4 https://bugs.php.net/bug.php?id=53319 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68134&edit=1

« previous php.doc.bugs (#12299) next »