php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7936 The strtoupper function fails converting PAris .
Submitted: 2000-11-22 20:58 UTC Modified: 2000-11-22 21:25 UTC
From: robh at irg dot com dot au Assigned:
Status: Closed Package: *Function Specific
PHP Version: 4.0.3pl1 OS: redhat linux 6.2
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: robh at irg dot com dot au
New email:
PHP Version: OS:

 

 [2000-11-22 20:58 UTC] robh at irg dot com dot au
The strtoupper function returns nothing on the following:

PAris

but works on:

\"PAris\" 
PARis
Paris

and anything else.

The script I used to find this is:

// Make the suburb all upper case
$SB = strtoupper($SB);
echo $SB;

I haven't really got the time to look at the source code so I'll just use strtr in the meantime.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-22 21:25 UTC] robh at irg dot com dot au
Sorry, It's seems I was caught by my ISP and IE 5.5 caching documents that they weren't supposed to....

Redfaced apologies to everyone...

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Mar 25 09:01:26 2019 UTC