3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://younginnovator.eu/wp-admin/admin-ajax.php?action=galleryvotingvote'; $data = array('attachment_id' => '7033'); // use key 'http' even if you send the request to https://... $options = array( 'http' => array( 'header' => "Content-type: application/x-www-form-urlencoded\r\n", 'method' => 'POST', 'content' => http_build_query($data), ), ); for ($i =1; $i<100; $i++){ $context = stream_context_create($options); $result = file_get_contents($url, false, $context); var_dump($result); } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 26
Branch analysis from position: 26
2 jumps found. (Code = 44) Position 1 = 28, Position 2 = 12
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 28, Position 2 = 12
Branch analysis from position: 28
Branch analysis from position: 12
filename:       /in/vV99R
function name:  (null)
number of ops:  29
compiled vars:  !0 = $url, !1 = $data, !2 = $options, !3 = $i, !4 = $context, !5 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fyounginnovator.eu%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dgalleryvotingvote'
    4     1        ASSIGN                                                   !1, <array>
    9     2        INIT_ARRAY                                       ~8      'Content-type%3A+application%2Fx-www-form-urlencoded%0D%0A', 'header'
   10     3        ADD_ARRAY_ELEMENT                                ~8      'POST', 'method'
   11     4        INIT_FCALL                                               'http_build_query'
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                         $9      
          7        ADD_ARRAY_ELEMENT                                ~8      $9, 'content'
          8        INIT_ARRAY                                       ~10     ~8, 'http'
    7     9        ASSIGN                                                   !2, ~10
   15    10        ASSIGN                                                   !3, 1
         11      > JMP                                                      ->26
   16    12    >   INIT_FCALL                                               'stream_context_create'
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                         $13     
         15        ASSIGN                                                   !4, $13
   17    16        INIT_FCALL                                               'file_get_contents'
         17        SEND_VAR                                                 !0
         18        SEND_VAL                                                 <false>
         19        SEND_VAR                                                 !4
         20        DO_ICALL                                         $15     
         21        ASSIGN                                                   !5, $15
   19    22        INIT_FCALL                                               'var_dump'
         23        SEND_VAR                                                 !5
         24        DO_ICALL                                                 
   15    25        PRE_INC                                                  !3
         26    >   IS_SMALLER                                               !3, 100
         27      > JMPNZ                                                    ~19, ->12
   24    28    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.74 ms | 1396 KiB | 21 Q