3v4l.org

run code in 300+ PHP versions simultaneously
<?php $chars = explode(", ", "¦, ¨, ´, ¸, À, Á, Â Ã, Ä, Ã…"); foreach ($chars as $char) { $x = mb_convert_encoding($char, 'Windows-1252', 'UTF-8'); var_dump($x); var_dump(utf8_encode($x)); } var_dump(utf8_decode('ß'));
Output for git.master, git.master_jit
string(2) "¦" Deprecated: Function utf8_encode() is deprecated in /in/N9jG9 on line 6 string(4) "¦" string(2) "¨" Deprecated: Function utf8_encode() is deprecated in /in/N9jG9 on line 6 string(4) "¨" string(2) "´" Deprecated: Function utf8_encode() is deprecated in /in/N9jG9 on line 6 string(4) "´" string(2) "¸" Deprecated: Function utf8_encode() is deprecated in /in/N9jG9 on line 6 string(4) "¸" string(2) "À" Deprecated: Function utf8_encode() is deprecated in /in/N9jG9 on line 6 string(4) "À" string(2) "�?" Deprecated: Function utf8_encode() is deprecated in /in/N9jG9 on line 6 string(3) "Ã?" string(5) " Ã" Deprecated: Function utf8_encode() is deprecated in /in/N9jG9 on line 6 string(9) "Â Ã" string(2) "Ä" Deprecated: Function utf8_encode() is deprecated in /in/N9jG9 on line 6 string(4) "Ä" string(2) "Å" Deprecated: Function utf8_encode() is deprecated in /in/N9jG9 on line 6 string(4) "Å" Deprecated: Function utf8_decode() is deprecated in /in/N9jG9 on line 8 string(1) "�"
Output for rfc.property-hooks
string(2) "¦" Deprecated: Function utf8_encode() is deprecated in /in/N9jG9 on line 6 string(4) "¦" string(2) "¨" Deprecated: Function utf8_encode() is deprecated in /in/N9jG9 on line 6 string(4) "¨" string(2) "´" Deprecated: Function utf8_encode() is deprecated in /in/N9jG9 on line 6 string(4) "´" string(2) "¸" Deprecated: Function utf8_encode() is deprecated in /in/N9jG9 on line 6 string(4) "¸" string(2) "À" Deprecated: Function utf8_encode() is deprecated in /in/N9jG9 on line 6 string(4) "À" string(2) "Á" Deprecated: Function utf8_encode() is deprecated in /in/N9jG9 on line 6 string(4) "Á" string(5) " Ã" Deprecated: Function utf8_encode() is deprecated in /in/N9jG9 on line 6 string(9) "Â Ã" string(2) "Ä" Deprecated: Function utf8_encode() is deprecated in /in/N9jG9 on line 6 string(4) "Ä" string(2) "Å" Deprecated: Function utf8_encode() is deprecated in /in/N9jG9 on line 6 string(4) "Å" Deprecated: Function utf8_decode() is deprecated in /in/N9jG9 on line 8 string(1) "�"

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:
56.06 ms | 403 KiB | 8 Q