3v4l.org

run code in 300+ PHP versions simultaneously
<?php $utf8_string = "https://\xec\xe5\xf5\xe0\xed\xe8\xe7\xe8\xf0\xee\xe2\xe0\xed\xed\xe0\xff-\xf8\xf2\xf3\xea\xe0\xf2\xf3\xf0\xea\xe024.\xf0\xf4/"; // $utf8_string = "\x5A\x6F\xC3\xAB"; // 'Zoƫ' in UTF-8 $utf16_string = UConverter::transcode($utf8_string, 'UTF-16BE', 'UTF-8'); echo bin2hex($utf16_string), "\n";
Output for git.master_jit, git.master
00680074007400700073003a002f002ffffdfffdfffdfffdfffdfffdfffdfffdfffdfffdfffdfffdfffdfffdfffdfffd002dfffdfffdfffdfffdfffdfffdfffdfffdfffdfffd00320034002efffdfffd002f

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.64 ms | 405 KiB | 5 Q