3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = 'ııİöÖğĞçÇşŞ'; $t = mb_detect_encoding($s, ['ASCII', 'UTF-8', 'ISO-8859-1', 'ISO-8859-15']); echo $t."\n"; $e = mb_convert_encoding($s, $t, 'UTF-8'); echo $e."\n";
Output for git.master_jit, git.master
ISO-8859-1 ???��??��??
Output for rfc.property-hooks
UTF-8 ııİöÖğĞçÇşŞ

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:
142.79 ms | 406 KiB | 5 Q