3v4l.org

run code in 300+ PHP versions simultaneously
<?php $h = '0032003000310038002d00300031002d00300031'; $s_be = hex2bin($h); $s = mb_convert_encoding($s_be, 'UTF-8', 'UTF-16BE'); var_dump($s);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KYGIZ
function name:  (null)
number of ops:  15
compiled vars:  !0 = $h, !1 = $s_be, !2 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '0032003000310038002d00300031002d00300031'
    4     1        INIT_FCALL                                               'hex2bin'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    5     5        INIT_FCALL                                               'mb_convert_encoding'
          6        SEND_VAR                                                 !1
          7        SEND_VAL                                                 'UTF-8'
          8        SEND_VAL                                                 'UTF-16BE'
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !2, $6
    7    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !2
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.93 ms | 1394 KiB | 19 Q