3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fp = fsockopen("www.mp3.zing.vn", 80, $errno, $errstr, 30);print_r($fp); fputs($fp, "GET /1/file.php HTTP/1.1\n"); fputs($fp, "Host: www.mp3.zing.vn\n"); fputs($fp, "Connection: close\n\n");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FImWi
function name:  (null)
number of ops:  24
compiled vars:  !0 = $fp, !1 = $errno, !2 = $errstr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'fsockopen'
          1        SEND_VAL                                                 'www.mp3.zing.vn'
          2        SEND_VAL                                                 80
          3        SEND_REF                                                 !1
          4        SEND_REF                                                 !2
          5        SEND_VAL                                                 30
          6        DO_ICALL                                         $3      
          7        ASSIGN                                                   !0, $3
          8        INIT_FCALL                                               'print_r'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
    3    11        INIT_FCALL                                               'fputs'
         12        SEND_VAR                                                 !0
         13        SEND_VAL                                                 'GET+%2F1%2Ffile.php+HTTP%2F1.1%0A'
         14        DO_ICALL                                                 
    4    15        INIT_FCALL                                               'fputs'
         16        SEND_VAR                                                 !0
         17        SEND_VAL                                                 'Host%3A+www.mp3.zing.vn%0A'
         18        DO_ICALL                                                 
    5    19        INIT_FCALL                                               'fputs'
         20        SEND_VAR                                                 !0
         21        SEND_VAL                                                 'Connection%3A+close%0A%0A'
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.99 ms | 1395 KiB | 19 Q