3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'Ñåòü ìàãàçèíîâ àâòîçàï÷àñòåé ÁÀËÒÊÀÌ'; echo $str."\n"; $str2 = mb_convert_encoding($str, 'ISO-8859-15', 'utf-8'); echo $str2."\n"; $str2 = iconv('utf-8', 'windows-1252', $str); echo $str2."\n"; $str2 = iconv('windows-1251', 'utf-8', $str); echo $str2."\n";
Output for git.master, git.master_jit, rfc.property-hooks
Ñåòü ìàãàçèíîâ àâòîçàï÷àñòåé ÁÀËÒÊÀÌ ��� ��������� ������������ ������ Warning: iconv(): Wrong encoding, conversion from "utf-8" to "windows-1252" is not allowed in /in/Zt0ls on line 9 Warning: iconv(): Wrong encoding, conversion from "windows-1251" to "utf-8" is not allowed in /in/Zt0ls on line 12

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:
59.7 ms | 402 KiB | 8 Q