3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
156.84 ms | 1849 KiB | 15 Q