1--TEST-- 2Testing mb_convert_kana() function 3--EXTENSIONS-- 4mbstring 5--FILE-- 6<?php 7$zenKakuA = 'ァアィイゥウェエォオカガキギク'; 8$zenKakuB = 'グケゲコゴサザシジスズセゼソゾタ'; 9$zenKakuC = 'ダチヂッツヅテデトドナニヌネノハ'; 10$zenKakuD = 'バパヒビピフブプヘベペホボポマミ'; 11$zenKakuE = 'ムメモャヤュユョヨラリルレロヮワ'; 12$zenKakuF = 'ヰヱヲンヴヵヶヷヸヹヺ・ーヽヾ'; 13 14$hanKakuA = '⦆。「」、・ヲァィゥェォャュョッ'; 15$hanKakuB = 'ーアイウエオカキクケコサシスセソ'; 16$hanKakuC = 'タチツテトナニヌネノハヒフヘホマ'; 17$hanKakuD = 'ミムメモヤユヨラリルレロワン゙゚'; 18 19 20echo $zenKakuA . ' => ' . mb_convert_kana($zenKakuA, 'AZKH', 'utf-8'); 21echo "\n"; 22echo $zenKakuB . ' => ' . mb_convert_kana($zenKakuB, 'azkh', 'utf-8'); 23echo "\n"; 24echo $zenKakuC . ' => ' . mb_convert_kana($zenKakuC, 'azkh', 'utf-8'); 25echo "\n"; 26echo $zenKakuD . ' => ' . mb_convert_kana($zenKakuD, 'azkh', 'utf-8'); 27echo "\n"; 28echo $zenKakuE . ' => ' . mb_convert_kana($zenKakuE, 'azkh', 'utf-8'); 29echo "\n"; 30echo $zenKakuF . ' => ' . mb_convert_kana($zenKakuF, 'azkh', 'utf-8'); 31echo "\n"; 32echo "\n"; 33echo $hanKakuA . ' => ' . mb_convert_kana($hanKakuA, 'AZKH', 'utf-8'); 34echo "\n"; 35echo $hanKakuB . ' => ' . mb_convert_kana($hanKakuB, 'AZKH', 'utf-8'); 36echo "\n"; 37echo $hanKakuC . ' => ' . mb_convert_kana($hanKakuC, 'AZKH', 'utf-8'); 38echo "\n"; 39echo $hanKakuD . ' => ' . mb_convert_kana($hanKakuD, 'AZKH', 'utf-8'); 40?> 41--EXPECT-- 42ァアィイゥウェエォオカガキギク => ァアィイゥウェエォオカガキギク 43グケゲコゴサザシジスズセゼソゾタ => グケゲコゴサザシジスズセゼソゾタ 44ダチヂッツヅテデトドナニヌネノハ => ダチヂッツヅテデトドナニヌネノハ 45バパヒビピフブプヘベペホボポマミ => バパヒビピフブプヘベペホボポマミ 46ムメモャヤュユョヨラリルレロヮワ => ムメモャヤュユョヨラリルレロワワ 47ヰヱヲンヴヵヶヷヸヹヺ・ーヽヾ => イエヲンヴヵヶヷヸヹヺ・ーヽヾ 48 49⦆。「」、・ヲァィゥェォャュョッ => ⦆。「」、・ヲァィゥェォャュョッ 50ーアイウエオカキクケコサシスセソ => ーアイウエオカキクケコサシスセソ 51タチツテトナニヌネノハヒフヘホマ => タチツテトナニヌネノハヒフヘホマ 52ミムメモヤユヨラリルレロワン゙゚ => ミムメモヤユヨラリルレロワン゛゜ 53--CREDITS-- 54Jason Easter <easter@phpug-wuerzburg.de> 55PHPUG Würzburg <phpug-wuerzburg.de> 56Testfest 2009 2009-06-20 57