3v4l.org

run code in 300+ PHP versions simultaneously
<?php use GuzzleHttp\Client; $client = new Client(); $uri = 'http://api.football-data.org/v1/soccerseasons/354/leagueTable'; $header = array('headers' => array('X-Auth-Token' => 'b89c9b18195c44ab833db9e2a4dc8145')); $response = $client->get($uri, $header); $json = $response->json(); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/T1mZ1
function name:  (null)
number of ops:  14
compiled vars:  !0 = $client, !1 = $uri, !2 = $header, !3 = $response, !4 = $json
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   NEW                                              $5      'GuzzleHttp%5CClient'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $5
    6     3        ASSIGN                                                   !1, 'http%3A%2F%2Fapi.football-data.org%2Fv1%2Fsoccerseasons%2F354%2FleagueTable'
    7     4        ASSIGN                                                   !2, <array>
    8     5        INIT_METHOD_CALL                                         !0, 'get'
          6        SEND_VAR_EX                                              !1
          7        SEND_VAR_EX                                              !2
          8        DO_FCALL                                      0  $10     
          9        ASSIGN                                                   !3, $10
    9    10        INIT_METHOD_CALL                                         !3, 'json'
         11        DO_FCALL                                      0  $12     
         12        ASSIGN                                                   !4, $12
   10    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.41 ms | 1393 KiB | 13 Q