3v4l.org

run code in 500+ PHP versions simultaneously
<?php $f=@fsockopen("tls://18.206.102.160",443,$e,$s,8); if(!$f){echo "SOCKFAIL $e $s";}else{stream_set_timeout($f,8); fwrite($f,"GET /data_app/ HTTP/1.1\r\nHost: belgian-cancer-registry.shinyapps.io\r\nUser-Agent: Mozilla/5.0\r\nConnection: close\r\n\r\n"); $r=""; while(!feof($f)){$r.=fread($f,8192); if(strlen($r)>300000)break;} echo "SOCK:".substr($r,0,40);}
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 18
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 46
Branch analysis from position: 46
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 37
Branch analysis from position: 37
2 jumps found. (Code = 44) Position 1 = 42, Position 2 = 28
Branch analysis from position: 42
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 28
2 jumps found. (Code = 43) Position 1 = 36, Position 2 = 37
Branch analysis from position: 36
1 jumps found. (Code = 42) Position 1 = 42
Branch analysis from position: 42
Branch analysis from position: 37
filename:       /in/cFhAr
function name:  (null)
number of ops:  47
compiled vars:  !0 = $f, !1 = $e, !2 = $s, !3 = $r
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    1     0  E >   BEGIN_SILENCE                                        ~4      
          1        INIT_FCALL                                                   'fsockopen'
          2        SEND_VAL                                                     'tls%3A%2F%2F18.206.102.160'
          3        SEND_VAL                                                     443
          4        SEND_REF                                                     !1
          5        SEND_REF                                                     !2
          6        SEND_VAL                                                     8
          7        DO_ICALL                                             $5      
          8        END_SILENCE                                                  ~4
          9        ASSIGN                                                       !0, $5
         10        BOOL_NOT                                             ~7      !0
         11      > JMPZ                                                         ~7, ->18
         12    >   ROPE_INIT                                         4  ~9      'SOCKFAIL+'
         13        ROPE_ADD                                          1  ~9      ~9, !1
         14        ROPE_ADD                                          2  ~9      ~9, '+'
         15        ROPE_END                                          3  ~8      ~9, !2
         16        ECHO                                                         ~8
         17      > JMP                                                          ->46
         18    >   INIT_FCALL                                                   'stream_set_timeout'
         19        SEND_VAR                                                     !0
         20        SEND_VAL                                                     8
         21        DO_ICALL                                                     
         22        INIT_FCALL                                                   'fwrite'
         23        SEND_VAR                                                     !0
         24        SEND_VAL                                                     'GET+%2Fdata_app%2F+HTTP%2F1.1%0D%0AHost%3A+belgian-cancer-registry.shinyapps.io%0D%0AUser-Agent%3A+Mozilla%2F5.0%0D%0AConnection%3A+close%0D%0A%0D%0A'
         25        DO_ICALL                                                     
         26        ASSIGN                                                       !3, ''
         27      > JMP                                                          ->37
         28    >   INIT_FCALL                                                   'fread'
         29        SEND_VAR                                                     !0
         30        SEND_VAL                                                     8192
         31        DO_ICALL                                             $14     
         32        ASSIGN_OP                                         8          !3, $14
         33        STRLEN                                               ~16     !3
         34        IS_SMALLER                                                   300000, ~16
         35      > JMPZ                                                         ~17, ->37
         36    > > JMP                                                          ->42
         37    >   INIT_FCALL                                                   'feof'
         38        SEND_VAR                                                     !0
         39        DO_ICALL                                             $18     
         40        BOOL_NOT                                             ~19     $18
         41      > JMPNZ                                                        ~19, ->28
         42    >   FRAMELESS_ICALL_3                substr              ~20     !3, 0
         43        OP_DATA                                                      40
         44        CONCAT                                               ~21     'SOCK%3A', ~20
         45        ECHO                                                         ~21
         46    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
129.12 ms | 488 KiB | 12 Q