3v4l.org

run code in 300+ PHP versions simultaneously
<?php $store_id = '5242013'; $url = 'http://app.ecwid.com/api/v1/' . $store_id . '/categories'; $response = file_get_contents($url); $response = json_decode($response); echo $response;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/16O9d
function name:  (null)
number of ops:  14
compiled vars:  !0 = $store_id, !1 = $url, !2 = $response
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '5242013'
    3     1        CONCAT                                           ~4      'http%3A%2F%2Fapp.ecwid.com%2Fapi%2Fv1%2F', !0
          2        CONCAT                                           ~5      ~4, '%2Fcategories'
          3        ASSIGN                                                   !1, ~5
    5     4        INIT_FCALL                                               'file_get_contents'
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                         $7      
          7        ASSIGN                                                   !2, $7
    7     8        INIT_FCALL                                               'json_decode'
          9        SEND_VAR                                                 !2
         10        DO_ICALL                                         $9      
         11        ASSIGN                                                   !2, $9
    8    12        ECHO                                                     !2
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.4 ms | 1394 KiB | 17 Q