3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str1 = "Jeanâ€Paul"; $str2 = "Jean-Paul"; $str3 = iconv(mb_detect_encoding($str1), mb_detect_encoding($str2), $str1); if ($str3 == $str1) { echo "equal"; } else { echo "different"; }
Output for git.master, git.master_jit, rfc.property-hooks
Notice: iconv(): Detected an illegal character in input string in /in/dj5X8 on line 4 different

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:
73.15 ms | 401 KiB | 8 Q