3v4l.org

run code in 300+ PHP versions simultaneously
<?php $vt_ip = "68.8.11.202"; // Server IP $vt_port = "27015"; // Port $output = @fsockopen("udp://$vt_ip", $vt_port, $errno, $errstr, 0.25); @socket_set_timeout($output, 1); @socket_set_blocking($output, 1); @fwrite($output, "\xFF\xFF\xFF\xFF\x54\x53\x6F\x75\x72\x63\x65\x20\x45\x6E\x67\x69\x6E\x65\x20\x51\x75\x65\x72\x79\x00"); $buffer = @fread($output, 4096); if (!$buffer) { $cache_file = "http://cur.pimpmyspace.org/cursors/online/31d5db52e529eea672be9ba5ebfa2c12.gif"; } else { $cache_file = "http://cur.pimpmyspace.org/cursors/online/6351473e988e557edd4e723c15c5b968.gif"; } @fclose($output); header("Content-Type: image/jpeg"); // header("Content-Length: ".filesize($cache_file)); $cache = fopen($cache_file,"r"); fpassthru($cache); fclose($cache); exit; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 41, Position 2 = 43
Branch analysis from position: 41
1 jumps found. (Code = 42) Position 1 = 44
Branch analysis from position: 44
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 43
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/SIlFn
function name:  (null)
number of ops:  65
compiled vars:  !0 = $vt_ip, !1 = $vt_port, !2 = $output, !3 = $errno, !4 = $errstr, !5 = $buffer, !6 = $cache_file, !7 = $cache
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '68.8.11.202'
    3     1        ASSIGN                                                   !1, '27015'
    5     2        BEGIN_SILENCE                                    ~10     
          3        INIT_FCALL                                               'fsockopen'
          4        NOP                                                      
          5        FAST_CONCAT                                      ~11     'udp%3A%2F%2F', !0
          6        SEND_VAL                                                 ~11
          7        SEND_VAR                                                 !1
          8        SEND_REF                                                 !3
          9        SEND_REF                                                 !4
         10        SEND_VAL                                                 0.25
         11        DO_ICALL                                         $12     
         12        END_SILENCE                                              ~10
         13        ASSIGN                                                   !2, $12
    6    14        BEGIN_SILENCE                                    ~14     
         15        INIT_FCALL                                               'socket_set_timeout'
         16        SEND_VAR                                                 !2
         17        SEND_VAL                                                 1
         18        DO_ICALL                                                 
         19        END_SILENCE                                              ~14
    7    20        BEGIN_SILENCE                                    ~16     
         21        INIT_FCALL                                               'socket_set_blocking'
         22        SEND_VAR                                                 !2
         23        SEND_VAL                                                 1
         24        DO_ICALL                                                 
         25        END_SILENCE                                              ~16
    9    26        BEGIN_SILENCE                                    ~18     
         27        INIT_FCALL                                               'fwrite'
         28        SEND_VAR                                                 !2
         29        SEND_VAL                                                 '%FF%FF%FF%FFTSource+Engine+Query%00'
         30        DO_ICALL                                                 
         31        END_SILENCE                                              ~18
   11    32        BEGIN_SILENCE                                    ~20     
         33        INIT_FCALL                                               'fread'
         34        SEND_VAR                                                 !2
         35        SEND_VAL                                                 4096
         36        DO_ICALL                                         $21     
         37        END_SILENCE                                              ~20
         38        ASSIGN                                                   !5, $21
   13    39        BOOL_NOT                                         ~23     !5
         40      > JMPZ                                                     ~23, ->43
   14    41    >   ASSIGN                                                   !6, 'http%3A%2F%2Fcur.pimpmyspace.org%2Fcursors%2Fonline%2F31d5db52e529eea672be9ba5ebfa2c12.gif'
         42      > JMP                                                      ->44
   16    43    >   ASSIGN                                                   !6, 'http%3A%2F%2Fcur.pimpmyspace.org%2Fcursors%2Fonline%2F6351473e988e557edd4e723c15c5b968.gif'
   19    44    >   BEGIN_SILENCE                                    ~26     
         45        INIT_FCALL                                               'fclose'
         46        SEND_VAR                                                 !2
         47        DO_ICALL                                                 
         48        END_SILENCE                                              ~26
   21    49        INIT_FCALL                                               'header'
         50        SEND_VAL                                                 'Content-Type%3A+image%2Fjpeg'
         51        DO_ICALL                                                 
   24    52        INIT_FCALL                                               'fopen'
         53        SEND_VAR                                                 !6
         54        SEND_VAL                                                 'r'
         55        DO_ICALL                                         $29     
         56        ASSIGN                                                   !7, $29
   25    57        INIT_FCALL                                               'fpassthru'
         58        SEND_VAR                                                 !7
         59        DO_ICALL                                                 
   26    60        INIT_FCALL                                               'fclose'
         61        SEND_VAR                                                 !7
         62        DO_ICALL                                                 
   28    63      > EXIT                                                     
   30    64*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.75 ms | 1400 KiB | 31 Q