3v4l.org

run code in 300+ PHP versions simultaneously
<?php function SubmitPayload($url){ $postdata = http_build_query( array('u' => urlencode(base64_encode($url))) ); $opts = array( 'http'=>array( 'method'=>'POST', 'header'=>'Content-type: application/x-www-form-urlencoded', 'content' => $postdata, 'protocol_version' => 1.1 ) ); $context = stream_context_create($opts); file_get_contents("https://defense.ballastsecurity.net/decoding/submit.php", false, $context); } SubmitPayload('http://pastebin.com/raw.php?i=YqsyzhzL'); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hRDZk
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   INIT_FCALL                                               'submitpayload'
          1        SEND_VAL                                                 'http%3A%2F%2Fpastebin.com%2Fraw.php%3Fi%3DYqsyzhzL'
          2        DO_FCALL                                      0          
   18     3      > RETURN                                                   1

Function submitpayload:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hRDZk
function name:  SubmitPayload
number of ops:  28
compiled vars:  !0 = $url, !1 = $postdata, !2 = $opts, !3 = $context
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        INIT_FCALL                                               'http_build_query'
    4     2        INIT_FCALL                                               'urlencode'
          3        INIT_FCALL                                               'base64_encode'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $4      
          6        SEND_VAR                                                 $4
          7        DO_ICALL                                         $5      
          8        INIT_ARRAY                                       ~6      $5, 'u'
          9        SEND_VAL                                                 ~6
         10        DO_ICALL                                         $7      
    3    11        ASSIGN                                                   !1, $7
    8    12        INIT_ARRAY                                       ~9      'POST', 'method'
    9    13        ADD_ARRAY_ELEMENT                                ~9      'Content-type%3A+application%2Fx-www-form-urlencoded', 'header'
   10    14        ADD_ARRAY_ELEMENT                                ~9      !1, 'content'
   11    15        ADD_ARRAY_ELEMENT                                ~9      1.1, 'protocol_version'
         16        INIT_ARRAY                                       ~10     ~9, 'http'
    6    17        ASSIGN                                                   !2, ~10
   14    18        INIT_FCALL                                               'stream_context_create'
         19        SEND_VAR                                                 !2
         20        DO_ICALL                                         $12     
         21        ASSIGN                                                   !3, $12
   15    22        INIT_FCALL                                               'file_get_contents'
         23        SEND_VAL                                                 'https%3A%2F%2Fdefense.ballastsecurity.net%2Fdecoding%2Fsubmit.php'
         24        SEND_VAL                                                 <false>
         25        SEND_VAR                                                 !3
         26        DO_ICALL                                                 
   16    27      > RETURN                                                   null

End of function submitpayload

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
194.06 ms | 1403 KiB | 24 Q