Bug #79048 [NEW]: Turkish Capital [İ] Error in mb_strtolower();
| From: | root at baransel dot dev | Date: | Tue, 31 Dec 2019 09:19:38 +0000 |
| Subject: | Bug #79048 [NEW]: Turkish Capital [İ] Error in mb_strtolower(); | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-224630@lists.php.net to get a copy of this message | ||
From: root at baransel dot dev
Operating system: MacOS 10.15.2
PHP version: 7.4.1
Package: *Unicode Issues
Bug Type: Bug
Bug description:Turkish Capital [İ] Error in mb_strtolower();
Description:
------------
---
From manual page: https://php.net/security.hiding
---
as 3v4l.org shows Output for 7.2.0 - 7.2.26 works like expected but
Output for 7.3.0 - 7.4.1 does not.
mb_strtolower(), cannot undercase the letter [İ], please have a look at
the example.
Test script:
---------------
<?php
$program['bolum'] = '3. Sİezon 7. Bölüm';
if(strpos(mb_strtolower($program['bolum']), 'siezon')){
var_dump('Baransel');
}
https://3v4l.org/qLP4q
Expected result:
----------------
I want the function to return me the undercase for letter [İ]
Actual result:
--------------
This is the result i'm getting => siÌezon
--
Edit bug report at https://bugs.php.net/bug.php?id=79048&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=79048&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=79048&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=79048&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=79048&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=79048&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=79048&r=support
Expected behavior: https://bugs.php.net/fix.php?id=79048&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=79048&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=79048&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=79048&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=79048&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=79048&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=79048&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=79048&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=79048&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=79048&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=79048&r=mysqlcfg