3v4l.org

run code in 300+ PHP versions simultaneously
<?php $magic = "\x45\x52\x00\x05\x00\x45\x52\x00\x01\x00\x45\x52\x00\x01\x00\x45\x52\x00\x01\x00\x45\x52\x00\x01\x00\x00\x01\x00\x45\x52\x00\x01\x00\x45\x52\x00\x01\x00\x00\x00\x00\x01\x00\x00\x00\x20\x20\x00\x00\x00\x20\x40\x00\x00\x00\xff\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x00\x52\x64\x00\x00"; $info = finfo_open(FILEINFO_MIME); var_dump(finfo_buffer($info, $magic));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jPUhl
function name:  (null)
number of ops:  13
compiled vars:  !0 = $magic, !1 = $info
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'ER%00%05%00ER%00%01%00ER%00%01%00ER%00%01%00ER%00%01%00%00%01%00ER%00%01%00ER%00%01%00%00%00%00%01%00%00%00++%00%00%00+%40%00%00%00%FF%15%15%15%15%15%15%15%15%15%15%15%15%00Rd%00%00'
    5     1        INIT_FCALL                                               'finfo_open'
          2        SEND_VAL                                                 1040
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
    6     5        INIT_FCALL                                               'var_dump'
          6        INIT_FCALL                                               'finfo_buffer'
          7        SEND_VAR                                                 !1
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $5      
         10        SEND_VAR                                                 $5
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.53 ms | 1394 KiB | 19 Q