3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( $conv = mb_convert_encoding( $bin = hex2bin("9748e3b582e2e1ee9cbff9fcf0b08dc3db4e"), "UTF-8", "CP950" ), mb_check_encoding($bin, "CP950"), bin2hex(mb_convert_encoding($conv, "CP950", "UTF-8")) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IPkpN
function name:  (null)
number of ops:  28
compiled vars:  !0 = $conv, !1 = $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                                                 '9748e3b582e2e1ee9cbff9fcf0b08dc3db4e'
          4        DO_ICALL                                         $2      
          5        ASSIGN                                           ~3      !1, $2
          6        SEND_VAL                                                 ~3
    6     7        SEND_VAL                                                 'UTF-8'
    7     8        SEND_VAL                                                 'CP950'
    4     9        DO_ICALL                                         $4      
         10        ASSIGN                                           ~5      !0, $4
         11        SEND_VAL                                                 ~5
    9    12        INIT_FCALL                                               'mb_check_encoding'
         13        SEND_VAR                                                 !1
         14        SEND_VAL                                                 'CP950'
         15        DO_ICALL                                         $6      
         16        SEND_VAR                                                 $6
   10    17        INIT_FCALL                                               'bin2hex'
         18        INIT_FCALL                                               'mb_convert_encoding'
         19        SEND_VAR                                                 !0
         20        SEND_VAL                                                 'CP950'
         21        SEND_VAL                                                 'UTF-8'
         22        DO_ICALL                                         $7      
         23        SEND_VAR                                                 $7
         24        DO_ICALL                                         $8      
         25        SEND_VAR                                                 $8
    3    26        DO_ICALL                                                 
   11    27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.32 ms | 1004 KiB | 18 Q