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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
41 - 3 = ?
Subscribe to this entry?

 
 [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: Thu Apr 25 18:02:40 2024 UTC