3v4l.org

run code in 300+ PHP versions simultaneously
<?php mb_substitute_character("long"); var_dump( $conv = mb_convert_encoding( $bin = hex2bin("a3f8f3abc0ce8ffaa1bce3adfcf1b2"), "UTF-8", "eucJP-win" ), mb_check_encoding($bin, "eucJP-win"), bin2hex(mb_convert_encoding($conv, "eucJP-win", "UTF-8")) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7Z4FL
function name:  (null)
number of ops:  31
compiled vars:  !0 = $conv, !1 = $bin
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'mb_substitute_character'
          1        SEND_VAL                                                 'long'
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'var_dump'
    5     4        INIT_FCALL                                               'mb_convert_encoding'
    6     5        INIT_FCALL                                               'hex2bin'
          6        SEND_VAL                                                 'a3f8f3abc0ce8ffaa1bce3adfcf1b2'
          7        DO_ICALL                                         $3      
          8        ASSIGN                                           ~4      !1, $3
          9        SEND_VAL                                                 ~4
    7    10        SEND_VAL                                                 'UTF-8'
    8    11        SEND_VAL                                                 'eucJP-win'
         12        DO_ICALL                                         $5      
    5    13        ASSIGN                                           ~6      !0, $5
         14        SEND_VAL                                                 ~6
   10    15        INIT_FCALL                                               'mb_check_encoding'
         16        SEND_VAR                                                 !1
         17        SEND_VAL                                                 'eucJP-win'
         18        DO_ICALL                                         $7      
         19        SEND_VAR                                                 $7
   11    20        INIT_FCALL                                               'bin2hex'
         21        INIT_FCALL                                               'mb_convert_encoding'
         22        SEND_VAR                                                 !0
         23        SEND_VAL                                                 'eucJP-win'
         24        SEND_VAL                                                 'UTF-8'
         25        DO_ICALL                                         $8      
         26        SEND_VAR                                                 $8
         27        DO_ICALL                                         $9      
         28        SEND_VAR                                                 $9
         29        DO_ICALL                                                 
   12    30      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.9 ms | 943 KiB | 26 Q