3v4l.org

run code in 300+ PHP versions simultaneously
<?php function get_content($URL){ $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL, $URL); $data = curl_exec($ch); curl_close($ch); return $data; } echo get_content('https://ws.vohrawoundteam.com/wcf/VWPM_Srv.svc/GetLog?Date=09/30/2015&Length=2048&Type=IIS');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sGU4V
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL                                               'get_content'
          1        SEND_VAL                                                 'https%3A%2F%2Fws.vohrawoundteam.com%2Fwcf%2FVWPM_Srv.svc%2FGetLog%3FDate%3D09%2F30%2F2015%26Length%3D2048%26Type%3DIIS'
          2        DO_FCALL                                      0  $0      
          3        ECHO                                                     $0
          4      > RETURN                                                   1

Function get_content:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sGU4V
function name:  get_content
number of ops:  25
compiled vars:  !0 = $URL, !1 = $ch, !2 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        INIT_FCALL_BY_NAME                                       'curl_init'
          2        DO_FCALL                                      0  $3      
          3        ASSIGN                                                   !1, $3
    4     4        INIT_FCALL_BY_NAME                                       'curl_setopt'
          5        SEND_VAR_EX                                              !1
          6        FETCH_CONSTANT                                   ~5      'CURLOPT_RETURNTRANSFER'
          7        SEND_VAL_EX                                              ~5
          8        SEND_VAL_EX                                              1
          9        DO_FCALL                                      0          
    5    10        INIT_FCALL_BY_NAME                                       'curl_setopt'
         11        SEND_VAR_EX                                              !1
         12        FETCH_CONSTANT                                   ~7      'CURLOPT_URL'
         13        SEND_VAL_EX                                              ~7
         14        SEND_VAR_EX                                              !0
         15        DO_FCALL                                      0          
    6    16        INIT_FCALL_BY_NAME                                       'curl_exec'
         17        SEND_VAR_EX                                              !1
         18        DO_FCALL                                      0  $9      
         19        ASSIGN                                                   !2, $9
    7    20        INIT_FCALL_BY_NAME                                       'curl_close'
         21        SEND_VAR_EX                                              !1
         22        DO_FCALL                                      0          
    8    23      > RETURN                                                   !2
    9    24*     > RETURN                                                   null

End of function get_content

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.8 ms | 1399 KiB | 14 Q