php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24359 Function strtolower
Submitted: 2003-06-27 09:54 UTC Modified: 2003-09-18 14:46 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: daniel at adsdigita dot com dot br Assigned:
Status: No Feedback Package: Strings related
PHP Version: 4.3.3 OS: Windows / Linux
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: daniel at adsdigita dot com dot br
New email:
PHP Version: OS:

 

 [2003-06-27 09:54 UTC] daniel at adsdigita dot com dot br
Description:
------------
So,

I leave in Brazil and in our language we have
de caracter "?" (means IS in English), the matter of
fact is: strtolower couldn't work in this caracter ("?") to change it in "?"




Reproduce code:
---------------
//Example:
echo strtolower("?"); 


Expected result:
----------------
?

Actual result:
--------------
?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-27 10:05 UTC] derick@php.net
Works fine here:

[derick@kossu derick]$ php
<?php
echo strtolower("?"); 
?>
?

Did you select the correct locale with setlocale() ?
 [2003-07-02 22:17 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 [2003-09-18 14:46 UTC] nohn@php.net
Verified with 4.3.3 and german umlauts:

strtolower("S?DSTADT") results in "s?dstadt"
 [2008-08-20 08:07 UTC] c dot leborgne at yahoo dot fr
I'm french on unix and PHP 4.2.3
 and I got the same bug whith this function

but, it works if you do :

$val = " NUM?RO ";
$tab=array("?" => "?", ..........);
$str =  strtolower(strtr($val,$tab));

voila c est fini :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 14:01:29 2024 UTC