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

From: Date: Thu, 02 Oct 2014 19:17:13 +0000
Subject: Doc #68134 [NEW]: strip_tags note isn't valid for php version 5.3.4 & higher
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-11520@lists.php.net to get a copy of this message
From: korikulum at net dot hr Operating system: PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:strip_tags note isn't valid for php version 5.3.4 & higher 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 bug report at https://bugs.php.net/bug.php?id=68134&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68134&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68134&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68134&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=68134&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=68134&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=68134&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=68134&r=needscript Try newer version: https://bugs.php.net/fix.php?id=68134&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=68134&r=support Expected behavior: https://bugs.php.net/fix.php?id=68134&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=68134&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=68134&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=68134&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68134&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=68134&r=dst IIS Stability: https://bugs.php.net/fix.php?id=68134&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=68134&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=68134&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=68134&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=68134&r=mysqlcfg

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