3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "ディーパック"; $encoding = mb_convert_encoding($str,'UTF-16LE', 'UTF-8'); echo $encoding; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7Opn4
function name:  (null)
number of ops:  9
compiled vars:  !0 = $str, !1 = $encoding
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%E3%83%87%E3%82%A3%E3%83%BC%E3%83%91%E3%83%83%E3%82%AF'
    3     1        INIT_FCALL                                               'mb_convert_encoding'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 'UTF-16LE'
          4        SEND_VAL                                                 'UTF-8'
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !1, $3
    4     7        ECHO                                                     !1
    6     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.01 ms | 1385 KiB | 15 Q