3v4l.org

run code in 300+ PHP versions simultaneously
<?php $finfo = finfo_open(); $txt = finfo_buffer($finfo,mb_convert_encoding("公開フラグ ほげほげ", 'SJIS-win')); var_dump($txt); // string(34) "DOS executable (COM, 0x8C-variant)"
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VqWf0
function name:  (null)
number of ops:  16
compiled vars:  !0 = $finfo, !1 = $txt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'finfo_open'
          1        DO_ICALL                                         $2      
          2        ASSIGN                                                   !0, $2
    4     3        INIT_FCALL                                               'finfo_buffer'
          4        SEND_VAR                                                 !0
          5        INIT_FCALL                                               'mb_convert_encoding'
          6        SEND_VAL                                                 '%E5%85%AC%E9%96%8B%E3%83%95%E3%83%A9%E3%82%B0+%E3%81%BB%E3%81%92%E3%81%BB%E3%81%92'
          7        SEND_VAL                                                 'SJIS-win'
          8        DO_ICALL                                         $4      
          9        SEND_VAR                                                 $4
         10        DO_ICALL                                         $5      
         11        ASSIGN                                                   !1, $5
    5    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.84 ms | 1428 KiB | 17 Q