Test: /ext/mbstring/tests/bug49354.phpt - Version 5.5.8-dev        

Bug #49354 mb_strcut() cutting wrong length when offset is within a multibyte character
Submitted: 2009-08-25 07:33:02 Modified: 2009-09-23 15:23:08
From: mk Assigned: moriyoshi
Status: Closed Package: mbstring related
PHP Version: 5.2.10 OS: Linux

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+ string(28) "Aテ・Bテ、CテカDテシ"
002+ string(27) "テ・Bテ、CテカDテシ"
003+ string(27) "テ・Bテ、CテカDテシ"
004+ string(27) "テ・Bテ、CテカDテシ"
005+ string(17) "、CテカDテシ"
006+ string(17) "、CテカDテシ"
001- string(12) "AåBäCöDü"
002- string(11) "åBäCöDü"
003- string(11) "åBäCöDü"
004- string(9) "BäCöDü"
005- string(0) ""
006- bool(false)