3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo $str = 'YİY', "\n"; echo bin2hex($str), "\n"; echo $tmp = mb_convert_case($str, MB_CASE_LOWER, 'UTF-8'), "\n"; echo bin2hex($tmp), "\n"; echo $tmp = mb_convert_case($tmp, MB_CASE_UPPER, 'UTF-8'), "\n"; echo bin2hex($tmp);
Output for 7.3.0 - 7.3.33, 7.4.0 - 7.4.30, 8.0.0 - 8.0.20, 8.1.0 - 8.1.7
YİY 59c4b059 yi̇y 7969cc8779 YİY 5949cc8759
Output for 7.1.0 - 7.1.33, 7.2.0 - 7.2.33
YİY 59c4b059 yiy 796979 YIY 594959

preferences:
70.1 ms | 410 KiB | 5 Q