3v4l.org

run code in 300+ PHP versions simultaneously
<?php # mis-decoded string $str = "éçìéó àú ùîåàì æåñîï äòåáã á÷áåöä îòì 50 ùðä"; # convert to CP1252 from UTF-8 $str = iconv("UTF-8", "CP1252", $str); # convert to UTF-8 by claiming $str is encoded with CP1255 $str = iconv("CP1255", "UTF-8", $str); echo $str;
Output for git.master, git.master_jit, rfc.property-hooks
Warning: iconv(): Wrong encoding, conversion from "UTF-8" to "CP1252" is not allowed in /in/7taaN on line 7 Warning: iconv(): Wrong encoding, conversion from "CP1255" to "UTF-8" is not allowed in /in/7taaN on line 10

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:
64.08 ms | 405 KiB | 5 Q