3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://store.steampowered.com/api/appdetails/?appids=57690'; $json = file_get_contents($url); $obj = json_decode($json); $objname = $obj->name; $objsuccess = $obj->success;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t46oe
function name:  (null)
number of ops:  14
compiled vars:  !0 = $url, !1 = $json, !2 = $obj, !3 = $objname, !4 = $objsuccess
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fstore.steampowered.com%2Fapi%2Fappdetails%2F%3Fappids%3D57690'
    4     1        INIT_FCALL                                               'file_get_contents'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $6      
          4        ASSIGN                                                   !1, $6
    5     5        INIT_FCALL                                               'json_decode'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $8      
          8        ASSIGN                                                   !2, $8
    6     9        FETCH_OBJ_R                                      ~10     !2, 'name'
         10        ASSIGN                                                   !3, ~10
    7    11        FETCH_OBJ_R                                      ~12     !2, 'success'
         12        ASSIGN                                                   !4, ~12
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.92 ms | 1394 KiB | 17 Q