3v4l.org

run code in 300+ PHP versions simultaneously
<?php $response = <<< 'TXT' { "items": [ { "tableName": "CO.Affected_Country", "count": 1, "columnNames": [ "id" ], "rows": [ [ "12" ] ] } ], "links": [ { "rel": "self", "href": "https://ter.ge.com/services/rest/connect/v1.3/queryResults?query=x" }, { "rel": "canonical", "href": "x" }, { "rel": "describedby", "href": "x", "mediaType": "application/schema+json" } ] } TXT; $obj = json_decode($response); echo $obj->items[0]->rows[0][0];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Q4I0E
function name:  (null)
number of ops:  12
compiled vars:  !0 = $response, !1 = $obj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%7B%0A%22items%22%3A+%5B%0A++++%7B%0A++++++++%22tableName%22%3A+%22CO.Affected_Country%22%2C%0A++++++++%22count%22%3A+1%2C%0A++++++++%22columnNames%22%3A+%5B%0A++++++++++++%22id%22%0A++++++++%5D%2C%0A++++++++%22rows%22%3A+%5B%0A++++++++++++%5B%0A++++++++++++++++%2212%22%0A++++++++++++%5D%0A++++++++%5D%0A++++%7D%0A%5D%2C%0A%22links%22%3A+%5B%0A++++%7B%0A++++++++%22rel%22%3A+%22self%22%2C%0A++++++++%22href%22%3A+%22https%3A%2F%2Fter.ge.com%2Fservices%2Frest%2Fconnect%2Fv1.3%2FqueryResults%3Fquery%3Dx%22%0A++++%7D%2C%0A++++%7B%0A++++++++%22rel%22%3A+%22canonical%22%2C%0A++++++++%22href%22%3A+%22x%22%0A++++%7D%2C%0A++++%7B%0A++++++++%22rel%22%3A+%22describedby%22%2C%0A++++++++%22href%22%3A+%22x%22%2C%0A++++++++%22mediaType%22%3A+%22application%2Fschema%2Bjson%22%0A++++%7D%0A%5D%0A%7D+'
   35     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
   36     5        FETCH_OBJ_R                                      ~5      !1, 'items'
          6        FETCH_DIM_R                                      ~6      ~5, 0
          7        FETCH_OBJ_R                                      ~7      ~6, 'rows'
          8        FETCH_DIM_R                                      ~8      ~7, 0
          9        FETCH_DIM_R                                      ~9      ~8, 0
         10        ECHO                                                     ~9
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.63 ms | 997 KiB | 14 Q