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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 21:01:36 2024 UTC