php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #35969 strtr: I got a strange result;
Submitted: 2006-01-11 08:58 UTC Modified: 2006-01-11 13:58 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: syou at cometj dot co dot jp Assigned:
Status: Wont fix Package: Feature/Change Request
PHP Version: 4.4.1 OS: redhat9
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: syou at cometj dot co dot jp
New email:
PHP Version: OS:

 

 [2006-01-11 08:58 UTC] syou at cometj dot co dot jp
Description:
------------
seaching string is changed.

Reproduce code:
---------------
echo strtr("工事","*","%%");

Expected result:
----------------
print result should be "工事".

Actual result:
--------------
but, in fact the print result is "工芝"。

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-11 13:58 UTC] tony2001@php.net
Unicode support is going to be added in PHP6.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 20 01:00:03 2025 UTC