3v4l.org

run code in 300+ PHP versions simultaneously
<?php //lin bmp $teemo = $_FILES['image_file']['tmp_name']; $teemo = bin2hex(file_get_contents($teemo)); //画像バイナリ16進数化 $teemo = substr_replace($teemo,"36",20,2); //address=Aを36に書き換え $teemo = str_replace('4c696e65616765', '', $teemo); //address=36から3Cまでの7byte削除 $teemo = hex2bin($teemo);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZIqMF
function name:  (null)
number of ops:  29
compiled vars:  !0 = $teemo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   FETCH_R                      global              ~1      '_FILES'
          1        FETCH_DIM_R                                      ~2      ~1, 'image_file'
          2        FETCH_DIM_R                                      ~3      ~2, 'tmp_name'
          3        ASSIGN                                                   !0, ~3
    5     4        INIT_FCALL                                               'bin2hex'
          5        INIT_FCALL                                               'file_get_contents'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $5      
          8        SEND_VAR                                                 $5
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !0, $6
    6    11        INIT_FCALL                                               'substr_replace'
         12        SEND_VAR                                                 !0
         13        SEND_VAL                                                 '36'
         14        SEND_VAL                                                 20
         15        SEND_VAL                                                 2
         16        DO_ICALL                                         $8      
         17        ASSIGN                                                   !0, $8
    7    18        INIT_FCALL                                               'str_replace'
         19        SEND_VAL                                                 '4c696e65616765'
         20        SEND_VAL                                                 ''
         21        SEND_VAR                                                 !0
         22        DO_ICALL                                         $10     
         23        ASSIGN                                                   !0, $10
    8    24        INIT_FCALL                                               'hex2bin'
         25        SEND_VAR                                                 !0
         26        DO_ICALL                                         $12     
         27        ASSIGN                                                   !0, $12
         28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.94 ms | 1395 KiB | 23 Q