3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fp = fsockopen ("pkwteile.de", 80); if ($fp) { fwrite($fp, "GET / HTTP/1.1\r\nHOST: pkwteile.de\r\n\r\n"); while (!feof($fp)) { print fread($fp,256); } fclose ($fp); } else { print "Fatal error\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 25
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 11
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 26
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 11
Branch analysis from position: 21
Branch analysis from position: 11
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6R7GT
function name:  (null)
number of ops:  27
compiled vars:  !0 = $fp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'fsockopen'
          1        SEND_VAL                                                 'pkwteile.de'
          2        SEND_VAL                                                 80
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    4     5      > JMPZ                                                     !0, ->25
    5     6    >   INIT_FCALL                                               'fwrite'
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 'GET+%2F+HTTP%2F1.1%0D%0AHOST%3A+pkwteile.de%0D%0A%0D%0A'
          9        DO_ICALL                                                 
    7    10      > JMP                                                      ->16
    8    11    >   INIT_FCALL                                               'fread'
         12        SEND_VAR                                                 !0
         13        SEND_VAL                                                 256
         14        DO_ICALL                                         $4      
         15        ECHO                                                     $4
    7    16    >   INIT_FCALL                                               'feof'
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                         $5      
         19        BOOL_NOT                                         ~6      $5
         20      > JMPNZ                                                    ~6, ->11
   11    21    >   INIT_FCALL                                               'fclose'
         22        SEND_VAR                                                 !0
         23        DO_ICALL                                                 
         24      > JMP                                                      ->26
   13    25    >   ECHO                                                     'Fatal+error%0A'
   14    26    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.22 ms | 1388 KiB | 23 Q