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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Pull Requests

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: Sun Dec 22 06:01:30 2024 UTC