3v4l.org

run code in 300+ PHP versions simultaneously
<?php $val = "á|â|à|å|ä ð|é|ê|è|ë í|î|ì|ï ó|ô|ò|ø|õ|ö ú|û|ù|ü æ ç ß abc ABC 123"; echo iconv("UTF-8", "ISO-8859-1//TRANSLIT", $val); echo mb_convert_encoding($val, 'UTF-8', $val);
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/HfhgC on line 5 Fatal error: Uncaught ValueError: mb_convert_encoding(): Argument #3 ($from_encoding) contains invalid encoding "á|â|à|å|ä ð|é|ê|è|ë í|î|ì|ï ó|ô|ò|ø|õ|ö ú|û|ù|ü æ ç ß abc ABC 123" in /in/HfhgC:6 Stack trace: #0 /in/HfhgC(6): mb_convert_encoding('\xC3\xA1|\xC3\xA2|\xC3\xA0|\xC3\xA5|\xC3\xA4 ...', 'UTF-8', '\xC3\xA1|\xC3\xA2|\xC3\xA0|\xC3\xA5|\xC3\xA4 ...') #1 {main} thrown in /in/HfhgC on line 6
Process exited with code 255.

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.17 ms | 402 KiB | 8 Q