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/ALJjV
function name:  (null)
number of ops:  15
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        FETCH_CONSTANT                                   ~7      'url'
          6        SEND_VAL                                                 ~7
          7        DO_ICALL                                         $8      
          8        ASSIGN                                                   !2, $8
    7     9        INIT_FCALL                                               'json_decode'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                         $10     
         12        ASSIGN                                                   !2, $10
    8    13        ECHO                                                     !2
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.5 ms | 1394 KiB | 17 Q