Re: PHP 4.0 Bug #7936: The strtoupper function fails converting PAris .
| From: | Lars Torben Wilson | Date: | Thu, 23 Nov 2000 03:15:28 +0000 |
| Subject: | Re: PHP 4.0 Bug #7936: The strtoupper function fails converting PAris . | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-38959@lists.php.net to get a copy of this message | ||
robh@irg.com.au writes:
> From: robh@irg.com.au
> Operating system: redhat linux 6.2
> PHP version: 4.0.3pl1
> PHP Bug Type: *Function Specific
> Bug description: The strtoupper function fails converting PAris .
>
> 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.
>
Current CVS (from about an hour ago) works correctly:
<?php
error_reporting(E_ALL);
$SB = 'PAris';
$SB = strtoupper($SB);
echo $SB;
?>
Can you try this out?
--
+----------------------------------------------------------------+
|Torben Wilson <torben@php.net> Netmill iTech|
|http://www.coastnet.com/~torben http://www.netmill.fi|
|Ph: 1 250 383-9735 torben@netmill.fi|
+----------------------------------------------------------------+