3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump( $conv = mb_convert_encoding( $bin = hex2bin("febb90"), "UTF-8", "UHC" ), mb_check_encoding($bin, "UHC"), bin2hex(mb_convert_encoding($conv, "UHC", "UTF-8")) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mlR4G
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                                                     'febb90'
          4        DO_ICALL                                             $2      
          5        ASSIGN                                               ~3      !1, $2
          6        SEND_VAL                                                     ~3
    6     7        SEND_VAL                                                     'UTF-8'
    7     8        SEND_VAL                                                     'UHC'
    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                                                     'UHC'
         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                                                     'UHC'
         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.5.0


preferences:
163.53 ms | 1864 KiB | 18 Q