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
 [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-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 21:01:29 2024 UTC