Req #69513 [Opn->Dup]: "strrev" cannot support non-English string
| From: | requinix@php.net | Date: | Thu, 23 Apr 2015 13:04:51 +0000 |
| Subject: | Req #69513 [Opn->Dup]: "strrev" cannot support non-English string | ||
| References: | 1 | Groups: | php.standards |
| Request: | Send a blank email to standards-+get-752@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69513&edit=1
ID: 69513
Updated by: requinix@php.net
Reported by: 550794054 at qq dot com
Summary: "strrev" cannot support non-English string
-Status: Open
+Status: Duplicate
Type: Feature/Change Request
Package: PHP Language Specification
Operating System: windows
PHP Version: 5.6.8
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2015-04-23 13:02:59] 550794054 at qq dot com
Description:
------------
---
From manual page: http://www.php.net/function.strrev
---
I find the instruction "strrev" cannot support non-English string,if want to reverse like
chinese string ,Janpanese string,or Russian string,"strrev" will display gibberish.even
add Prefix "mb_" also not support.
Test script:
---------------
<?php
$str="æçååå«å°æâ;
$str1=strrev($str);
echo $str1;
?>
Expected result:
----------------
maybe it's the problem belongs to C.but I also want to PHP group can fix the problem. Thank
you!
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69513&edit=1