php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23650 strip_tags removes hyphens
Submitted: 2003-05-15 23:21 UTC Modified: 2003-05-16 03:09 UTC
From: pw0kt32001 at sneakemail dot com Assigned: moriyoshi (profile)
Status: Closed Package: Strings related
PHP Version: 4.3.2RC4-dev OS: Windows XP Pro
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pw0kt32001 at sneakemail dot com
New email:
PHP Version: OS:

 

 [2003-05-15 23:21 UTC] pw0kt32001 at sneakemail dot com
print strip_tags("<b>a-z</b>") returns "az".
Intended change or bug? 4.3.1 returns "a-z".

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-16 00:11 UTC] magnus@php.net
This is a BC break and should be fixed before we release 
final, IMO. 
 [2003-05-16 03:09 UTC] magnus@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

Works fine now. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 17:01:29 2024 UTC