3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "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/"; echo UConverter::transcode($s, 'UTF-16', 'UTF-8').php_eol; // echo $utf16_string;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kZvDU
function name:  (null)
number of ops:  10
compiled vars:  !0 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'https%3A%2F%2F%EC%E5%F5%E0%ED%E8%E7%E8%F0%EE%E2%E0%ED%ED%E0%FF-%F8%F2%F3%EA%E0%F2%F3%F0%EA%E024.%F0%F4%2F'
    5     1        INIT_STATIC_METHOD_CALL                                  'UConverter', 'transcode'
          2        SEND_VAR_EX                                              !0
          3        SEND_VAL_EX                                              'UTF-16'
          4        SEND_VAL_EX                                              'UTF-8'
          5        DO_FCALL                                      0  $2      
          6        FETCH_CONSTANT                                   ~3      'php_eol'
          7        CONCAT                                           ~4      $2, ~3
          8        ECHO                                                     ~4
    7     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.23 ms | 1006 KiB | 13 Q