3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "හුස්මේ සැමදා රැඳුනා සඳනාරි උපමා මැවුණා වැස්සේ සිතු සේ තෙමු"; $newStr = Normalizer::normalize($str, Normalizer::FORM_KD); echo "str: strlen:" . strlen($str) . "; mb_strlen:" . mb_strlen($str); echo "\nnewStr: strlen:" . strlen($newStr) . "; mb_strlen:" . mb_strlen($newStr); echo "\noldstr: $str\nnewStr: $newStr";
Output for git.master, git.master_jit, rfc.property-hooks
str: strlen:156; mb_strlen:58 newStr: strlen:165; mb_strlen:61 oldstr: හුස්මේ සැමදා රැඳුනා සඳනාරි උපමා මැවුණා වැස්සේ සිතු සේ තෙමු newStr: හුස්මේ සැමදා රැඳුනා සඳනාරි උපමා මැවුණා වැස්සේ සිතු සේ තෙමු

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:
31.87 ms | 402 KiB | 8 Q