3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = hex2bin('570069006e0064006f00770073002000530075006200730079007300740065006d00200066006f00720020004c0069006e0075007800200044006900730074007200690062007500740069006f006e0073003a000d000d000a005500620075006e00740075002d00310036002e003000340020002800440065006600610075006c00740029000d000d000a00'); $str = iconv('UTF-16LE', 'UTF-8', $str); $str = str_replace("\r\n", "\n", $str); var_dump($str);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: iconv(): Wrong encoding, conversion from "UTF-16LE" to "UTF-8" is not allowed in /in/YrFPD on line 4 string(0) ""

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