3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = json_decode(file_get_contents('http://api.openweathermap.org/data/2.5/forecast/city?q=CH&APPID=45c070c14f5fcf78e6faaa38d7e1b523&units=metric')); echo $data;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/G1IlA
function name:  (null)
number of ops:  9
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_decode'
          1        INIT_FCALL                                               'file_get_contents'
          2        SEND_VAL                                                 'http%3A%2F%2Fapi.openweathermap.org%2Fdata%2F2.5%2Fforecast%2Fcity%3Fq%3DCH%26APPID%3D45c070c14f5fcf78e6faaa38d7e1b523%26units%3Dmetric'
          3        DO_ICALL                                         $1      
          4        SEND_VAR                                                 $1
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    4     7        ECHO                                                     !0
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.5 ms | 1393 KiB | 17 Q