3v4l.org

run code in 300+ PHP versions simultaneously
<?php $jsonfile = file_get_contents('https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol=MSFT&interval=15min&outputsize=full&apikey=demo'); $jsonarray = json_decode($jsonfile, true); echo $jsonarray['Meta Data']; var_dump($jsonarray);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RW1rR
function name:  (null)
number of ops:  15
compiled vars:  !0 = $jsonfile, !1 = $jsonarray
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'file_get_contents'
          1        SEND_VAL                                                 'https%3A%2F%2Fwww.alphavantage.co%2Fquery%3Ffunction%3DTIME_SERIES_INTRADAY%26symbol%3DMSFT%26interval%3D15min%26outputsize%3Dfull%26apikey%3Ddemo'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    4     4        INIT_FCALL                                               'json_decode'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !1, $4
    6     9        FETCH_DIM_R                                      ~6      !1, 'Meta+Data'
         10        ECHO                                                     ~6
    7    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.02 ms | 1394 KiB | 19 Q