3v4l.org

run code in 300+ PHP versions simultaneously
<?php //array(self::NON_UTF8_STRING_ISO, 'ISO-8859-1', self::NON_UTF8_STRING_ISO), echo htmlspecialchars("\xce\xd2\xca\xc7\xb2\xe2\xca\xd4", ENT_QUOTES, 'GB2312'); echo htmlspecialchars("\xf8\xf9", ENT_QUOTES, 'ISO-8859-1'); $string = "\nLöic & René"; $output = iconv("UTF-8", "ISO-8859-1//TRANSLIT", $string); echo $output; $output = iconv("UTF-8", "UTF-8//TRANSLIT", $string); echo $output;
Output for git.master, git.master_jit, rfc.property-hooks
���Dz���� Warning: iconv(): Wrong encoding, conversion from "UTF-8" to "ISO-8859-1//TRANSLIT" is not allowed in /in/u94vo on line 9 Löic & René

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