3v4l.org

run code in 300+ PHP versions simultaneously
<?php $link = 'https://developers.facebook.com/tools/debug/accesstoken/?app_id=350685531728'; $ch = curl_init(); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_VERBOSE, 0); //curl_setopt($ch,CURLOPT_ENCODING , "gzip"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_URL, ($link)); $response = curl_exec($ch); curl_close($ch); print_r($response);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/K308O
function name:  (null)
number of ops:  39
compiled vars:  !0 = $link, !1 = $ch, !2 = $response
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'https%3A%2F%2Fdevelopers.facebook.com%2Ftools%2Fdebug%2Faccesstoken%2F%3Fapp_id%3D350685531728'
    4     1        INIT_FCALL_BY_NAME                                       'curl_init'
          2        DO_FCALL                                      0  $4      
          3        ASSIGN                                                   !1, $4
    5     4        INIT_FCALL_BY_NAME                                       'curl_setopt'
          5        SEND_VAR_EX                                              !1
          6        FETCH_CONSTANT                                   ~6      'CURLOPT_HEADER'
          7        SEND_VAL_EX                                              ~6
          8        SEND_VAL_EX                                              0
          9        DO_FCALL                                      0          
    6    10        INIT_FCALL_BY_NAME                                       'curl_setopt'
         11        SEND_VAR_EX                                              !1
         12        FETCH_CONSTANT                                   ~8      'CURLOPT_VERBOSE'
         13        SEND_VAL_EX                                              ~8
         14        SEND_VAL_EX                                              0
         15        DO_FCALL                                      0          
    8    16        INIT_FCALL_BY_NAME                                       'curl_setopt'
         17        SEND_VAR_EX                                              !1
         18        FETCH_CONSTANT                                   ~10     'CURLOPT_RETURNTRANSFER'
         19        SEND_VAL_EX                                              ~10
         20        SEND_VAL_EX                                              <true>
         21        DO_FCALL                                      0          
    9    22        INIT_FCALL_BY_NAME                                       'curl_setopt'
         23        SEND_VAR_EX                                              !1
         24        FETCH_CONSTANT                                   ~12     'CURLOPT_URL'
         25        SEND_VAL_EX                                              ~12
         26        SEND_VAR_EX                                              !0
         27        DO_FCALL                                      0          
   10    28        INIT_FCALL_BY_NAME                                       'curl_exec'
         29        SEND_VAR_EX                                              !1
         30        DO_FCALL                                      0  $14     
         31        ASSIGN                                                   !2, $14
   11    32        INIT_FCALL_BY_NAME                                       'curl_close'
         33        SEND_VAR_EX                                              !1
         34        DO_FCALL                                      0          
   12    35        INIT_FCALL                                               'print_r'
         36        SEND_VAR                                                 !2
         37        DO_ICALL                                                 
         38      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.39 ms | 1396 KiB | 15 Q