3v4l.org

run code in 300+ PHP versions simultaneously
<?php // echo utf8_decode("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";

preferences:
38.7 ms | 404 KiB | 5 Q