3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 0; $i < 0x10ffff; $i++) { $chr = mb_chr($i); if (strlen($chr) !== strlen(mb_strtolower($chr)) || strlen($chr) !== strlen(mb_strtoupper($chr))) { var_dump($i); var_dump($chr); var_dump(mb_strtolower($chr)); var_dump(mb_strtoupper($chr)); break; } }
Output for git.master, git.master_jit, rfc.property-hooks
int(304) string(2) "İ" string(3) "i̇" string(2) "İ"

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:
29.77 ms | 405 KiB | 5 Q