3v4l.org

run code in 300+ PHP versions simultaneously
<?php $uri = 'http://api.football-data.org/v1/soccerseasons/?season=2015'; $reqPrefs['http']['method'] = 'GET'; $reqPrefs['http']['header'] = 'X-Auth-Token: b89c9b18195c44ab833db9e2a4dc8145'; $stream_context = stream_context_create($reqPrefs); $response = file_get_contents($uri, false, $stream_context); $fixtures = json_decode($response); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RZv7o
function name:  (null)
number of ops:  22
compiled vars:  !0 = $uri, !1 = $reqPrefs, !2 = $stream_context, !3 = $response, !4 = $fixtures
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fapi.football-data.org%2Fv1%2Fsoccerseasons%2F%3Fseason%3D2015'
    3     1        FETCH_DIM_W                                      $6      !1, 'http'
          2        ASSIGN_DIM                                               $6, 'method'
          3        OP_DATA                                                  'GET'
    4     4        FETCH_DIM_W                                      $8      !1, 'http'
          5        ASSIGN_DIM                                               $8, 'header'
          6        OP_DATA                                                  'X-Auth-Token%3A+b89c9b18195c44ab833db9e2a4dc8145'
    5     7        INIT_FCALL                                               'stream_context_create'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                         $10     
         10        ASSIGN                                                   !2, $10
    6    11        INIT_FCALL                                               'file_get_contents'
         12        SEND_VAR                                                 !0
         13        SEND_VAL                                                 <false>
         14        SEND_VAR                                                 !2
         15        DO_ICALL                                         $12     
         16        ASSIGN                                                   !3, $12
    7    17        INIT_FCALL                                               'json_decode'
         18        SEND_VAR                                                 !3
         19        DO_ICALL                                         $14     
         20        ASSIGN                                                   !4, $14
    8    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.6 ms | 1395 KiB | 19 Q