3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tmp=tempnam("/tmp", "prvieval"); $tmp1=tempnam("/tmp", "drugieval"); file_put_contents($tmp, '<?php file_put_contents($tmp1, "<?php " . base64_decode(\"ZWNobyAnYSc7\") . " ;");');include($tmp);echo file_get_contents($tmp);echo "AAA";echo file_get_contents($tmp1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vRYV1
function name:  (null)
number of ops:  25
compiled vars:  !0 = $tmp, !1 = $tmp1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'tempnam'
          1        SEND_VAL                                                 '%2Ftmp'
          2        SEND_VAL                                                 'prvieval'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    4     5        INIT_FCALL                                               'tempnam'
          6        SEND_VAL                                                 '%2Ftmp'
          7        SEND_VAL                                                 'drugieval'
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !1, $4
    6    10        INIT_FCALL                                               'file_put_contents'
         11        SEND_VAR                                                 !0
         12        SEND_VAL                                                 '%3C%3Fphp+++file_put_contents%28%24tmp1%2C+%22%3C%3Fphp+%22+.+base64_decode%28%5C%22ZWNobyAnYSc7%5C%22%29+.+%22+%3B%22%29%3B'
         13        DO_ICALL                                                 
         14        INCLUDE_OR_EVAL                                          !0, INCLUDE
         15        INIT_FCALL                                               'file_get_contents'
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                         $8      
         18        ECHO                                                     $8
         19        ECHO                                                     'AAA'
         20        INIT_FCALL                                               'file_get_contents'
         21        SEND_VAR                                                 !1
         22        DO_ICALL                                         $9      
         23        ECHO                                                     $9
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.47 ms | 1395 KiB | 19 Q