3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ret = mb_convert_kana("fooあいうエオ","rnaskh","UTF-8"); print($ret);
Output for 8.0.1 - 8.0.30, 8.1.0 - 8.1.28, 8.2.2 - 8.2.18, 8.3.0 - 8.3.6
fooアイウエオ
Output for 8.2.0 - 8.2.1
Fatal error: Uncaught ValueError: mb_convert_kana(): Argument #2 ($mode) must not combine 'h' and 'k' flags in /in/pIBuP:3 Stack trace: #0 /in/pIBuP(3): mb_convert_kana('foo\xE3\x81\x82\xE3\x81\x84\xE3\x81\x86\xE3\x82\xA8...', 'rnaskh', 'UTF-8') #1 {main} thrown in /in/pIBuP on line 3
Process exited with code 255.

preferences:
102.85 ms | 401 KiB | 89 Q