3v4l.org

run code in 500+ PHP versions simultaneously
<?php $jis_x_0201 = '1b284a'; $yen = '5c'; $shiftout_shiftin = '0e0f'; $ascii = '1b2842'; $byte_seq = $jis_x_0201 . $yen . $shiftout_shiftin . $yen . $ascii; var_dump($byte_seq); var_dump(mb_convert_encoding(hex2bin($byte_seq), 'UTF-8', 'JIS'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XrFGE
function name:  (null)
number of ops:  24
compiled vars:  !0 = $jis_x_0201, !1 = $yen, !2 = $shiftout_shiftin, !3 = $ascii, !4 = $byte_seq
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '1b284a'
    4     1        ASSIGN                                                       !1, '5c'
    5     2        ASSIGN                                                       !2, '0e0f'
    6     3        ASSIGN                                                       !3, '1b2842'
    8     4        CONCAT                                               ~9      !0, !1
          5        CONCAT                                               ~10     ~9, !2
          6        CONCAT                                               ~11     ~10, !1
          7        CONCAT                                               ~12     ~11, !3
          8        ASSIGN                                                       !4, ~12
    9     9        INIT_FCALL                                                   'var_dump'
         10        SEND_VAR                                                     !4
         11        DO_ICALL                                                     
   10    12        INIT_FCALL                                                   'var_dump'
         13        INIT_FCALL                                                   'mb_convert_encoding'
         14        INIT_FCALL                                                   'hex2bin'
         15        SEND_VAR                                                     !4
         16        DO_ICALL                                             $15     
         17        SEND_VAR                                                     $15
         18        SEND_VAL                                                     'UTF-8'
         19        SEND_VAL                                                     'JIS'
         20        DO_ICALL                                             $16     
         21        SEND_VAR                                                     $16
         22        DO_ICALL                                                     
         23      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
129.72 ms | 479 KiB | 10 Q