|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55546 Bad Test for strtolower/strtoupper
Submitted: 2011-08-31 06:40 UTC Modified: 2011-09-26 23:54 UTC
From: lonnyk at gmail dot com Assigned: stas (profile)
Status: Closed Package: Strings related
PHP Version: 5.4SVN-2011-08-31 (SVN) OS: OSX
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: lonnyk at gmail dot com
New email:
PHP Version: OS:


 [2011-08-31 06:40 UTC] lonnyk at gmail dot com
On Mac OSX both of these fail:

Test strtolower() function [ext/standard/tests/strings/strtolower.phpt]
Test strtoupper() function [ext/standard/tests/strings/strtoupper1.phpt]

In both we test ASCII characters 0-255 and we fail somewhere after 127. We should 
not test ASCII > 127 because it is undocumented and always has a different 


strtolower.phpt.diff (last revision 2011-08-31 06:45 UTC by lonnyk at gmail dot com)
strtoupper1.phpt.diff (last revision 2011-08-31 06:45 UTC by lonnyk at gmail dot com)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-09-26 23:54 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: stas
 [2011-09-26 23:54 UTC]
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at

 For Windows:
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 21 02:01:28 2024 UTC