3v4l.org

run code in 300+ PHP versions simultaneously
<?php //加上UTF-16 BOM的base64解码(客户端是根据FFFE的Unicode base64的) function get_utf8_from_base64_utf16($str) { $utf16 = chr(hexdec('FF')) . chr(hexdec('FE')) . base64_decode($str); return iconv('UTF-8-MAC', 'UTF-8', $utf16); } $a= '4pzni6CvdGqHvP7PTpjzLSguxvawG64aWlhY+ODks4eI2PyRYCfzAXU+MR+fJSAaEOqyKaXt02IaMQ3aoRBMnJS/5oEOuc8Pf+iz+Wf5joY1gwuWi2MF2rV8L7ObT6FnfgKMLproczs=_33'; echo(get_utf8_from_base64_utf16($a));
Output for git.master, git.master_jit, rfc.property-hooks
Warning: iconv(): Wrong encoding, conversion from "UTF-8-MAC" to "UTF-8" is not allowed in /in/5v8lb on line 8

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.89 ms | 401 KiB | 8 Q