diff options
Diffstat (limited to 'ext/mbstring/tests/bug30549.phpt')
-rw-r--r-- | ext/mbstring/tests/bug30549.phpt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/mbstring/tests/bug30549.phpt b/ext/mbstring/tests/bug30549.phpt index a6007e0b38..2feadf1d5a 100644 --- a/ext/mbstring/tests/bug30549.phpt +++ b/ext/mbstring/tests/bug30549.phpt @@ -9,13 +9,13 @@ test('ISO-8859-8', array(0xaf => 0x00af, 0xfd => 0x200e, 0xfe => 0x200f)); test('ISO-8859-10', array(0xa4 => 0x012a )); function test($enc, $map) { - print "$enc\n"; + print "$enc\n"; - foreach($map as $fromc => $toc) { - $ustr = mb_convert_encoding(pack('C', $fromc), 'UCS-4BE', $enc); - foreach (unpack('Nc', $ustr) as $unic); - printf("0x%04x, 0x%04x\n", $toc, $unic); - } + foreach($map as $fromc => $toc) { + $ustr = mb_convert_encoding(pack('C', $fromc), 'UCS-4BE', $enc); + foreach (unpack('Nc', $ustr) as $unic); + printf("0x%04x, 0x%04x\n", $toc, $unic); + } } ?> --EXPECT-- |