3v4l.org

run code in 300+ PHP versions simultaneously
<?php setlocale(LC_ALL, 'en_US.UTF-8'); $str = "u\u0308 a\u0302 a\u0308 o\u0300"; $str = preg_replace('/\\\\u([0-9a-f]+)/i', '&#x$1;', $str); $str = html_entity_decode($str, ENT_QUOTES, 'UTF-8'); echo iconv("UTF-8", "ISO-8859-1//TRANSLIT", $str); echo "foo in the bar";
Output for git.master, git.master_jit, rfc.property-hooks
Warning: iconv(): Wrong encoding, conversion from "UTF-8" to "ISO-8859-1//TRANSLIT" is not allowed in /in/SomJa on line 8 foo in the bar

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