3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.03 ms | 1399 KiB | 21 Q