3v4l.org

run code in 300+ PHP versions simultaneously
<?php function isZenkaku($string){ return $string === mb_convert_kana($string, 'ASKH', 'UTF-8'); } function isHankaku($string){ return strlen($string) === mb_strlen($string, 'UTF-8'); } var_dump(isZenkaku('\''));
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught ValueError: mb_convert_kana(): Argument #2 ($mode) must not combine 'H' and 'K' flags in /in/qudUl:4 Stack trace: #0 /in/qudUl(4): mb_convert_kana(''', 'ASKH', 'UTF-8') #1 /in/qudUl(10): isZenkaku(''') #2 {main} thrown in /in/qudUl on line 4
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
199.44 ms | 406 KiB | 5 Q