3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rob = '{ "id": 454626, "results": [ { "iso_3166_1": "SK", "release_dates": [ { "certification": "U", "iso_639_1": "sk", "note": "", "release_date": "2020-02-20T00:00:00.000Z", "type": 3 } ] }, { "iso_3166_1": "DE", "release_dates": [ { "certification": "6", "iso_639_1": "", "note": "", "release_date": "2020-02-13T00:00:00.000Z", "type": 3 } ] }, { "iso_3166_1": "TW", "release_dates": [ { "certification": "G", "iso_639_1": "", "note": "", "release_date": "2020-02-21T00:00:00.000Z", "type": 3 } ] } ] }'; $result = json_decode($rob, true); //print_r($result); foreach($result['results'] as $res){ echo $res['release_dates'][0]['release_date']."\n"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 15
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 15
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/n8StF
function name:  (null)
number of ops:  17
compiled vars:  !0 = $rob, !1 = $result, !2 = $res
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%7B%0A++%22id%22%3A+454626%2C%0A++%22results%22%3A+%5B%0A++++%7B%0A++++++%22iso_3166_1%22%3A+%22SK%22%2C%0A++++++%22release_dates%22%3A+%5B%0A++++++++%7B%0A++++++++++%22certification%22%3A+%22U%22%2C%0A++++++++++%22iso_639_1%22%3A+%22sk%22%2C%0A++++++++++%22note%22%3A+%22%22%2C%0A++++++++++%22release_date%22%3A+%222020-02-20T00%3A00%3A00.000Z%22%2C%0A++++++++++%22type%22%3A+3%0A++++++++%7D%0A++++++%5D%0A++++%7D%2C%0A++++%7B%0A++++++%22iso_3166_1%22%3A+%22DE%22%2C%0A++++++%22release_dates%22%3A+%5B%0A++++++++%7B%0A++++++++++%22certification%22%3A+%226%22%2C%0A++++++++++%22iso_639_1%22%3A+%22%22%2C%0A++++++++++%22note%22%3A+%22%22%2C%0A++++++++++%22release_date%22%3A+%222020-02-13T00%3A00%3A00.000Z%22%2C%0A++++++++++%22type%22%3A+3%0A++++++++%7D%0A++++++%5D%0A++++%7D%2C%0A++++%7B%0A++++++%22iso_3166_1%22%3A+%22TW%22%2C%0A++++++%22release_dates%22%3A+%5B%0A++++++++%7B%0A++++++++++%22certification%22%3A+%22G%22%2C%0A++++++++++%22iso_639_1%22%3A+%22%22%2C%0A++++++++++%22note%22%3A+%22%22%2C%0A++++++++++%22release_date%22%3A+%222020-02-21T00%3A00%3A00.000Z%22%2C%0A++++++++++%22type%22%3A+3%0A++++++++%7D%0A++++++%5D%0A++++%7D%0A++%5D%0A%7D'
   44     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 <true>
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
   47     6        FETCH_DIM_R                                      ~6      !1, 'results'
          7      > FE_RESET_R                                       $7      ~6, ->15
          8    > > FE_FETCH_R                                               $7, !2, ->15
   49     9    >   FETCH_DIM_R                                      ~8      !2, 'release_dates'
         10        FETCH_DIM_R                                      ~9      ~8, 0
         11        FETCH_DIM_R                                      ~10     ~9, 'release_date'
         12        CONCAT                                           ~11     ~10, '%0A'
         13        ECHO                                                     ~11
   47    14      > JMP                                                      ->8
         15    >   FE_FREE                                                  $7
   51    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.09 ms | 1003 KiB | 14 Q