Test: /ext/iconv/tests/bug69840.phpt - Version 7.4.0-dev        

Bug #69840 iconv_substr() doesn't work with UTF-16BE
Submitted: 2015-06-15 16:03:28 Modified: 2015-06-17 07:40:44
From: jan.slabon Assigned: kalle
Status: Closed Package: ICONV related
PHP Version: 7.0.0alpha1 OS: Windows 7 Pro

There are 2 different diffs reported by users for this test.

Count Diff
25 (96%)
001+ Notice: iconv_substr(): Wrong charset, conversion from `UTF-16LE' to `UCS-4LE' is not allowed in %s/bug69840.php on line 2
002+ int(0)
001- int(2)
002- int(97)
004+ int(0)
005+
006+ Notice: iconv_substr(): Wrong charset, conversion from `UTF-16BE' to `UCS-4LE' is not allowed in %s/bug69840.php on line 6
007+ int(0)
008+ int(0)
004- int(2)
006- int(97)
1 (4%)
001+ Termsig=0
001- int(2)
002- int(97)
003- int(0)
004- int(2)
005- int(0)
006- int(97)