3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = json_decode('[ { "label": "vvk", "data": [ [ "1404054000000", 6 ], [ "1405353600000", 10 ] ] }, { "label": "vrij", "data": [ [ "1404054000000", 4 ], [ "1405353600000", 8 ] ] }, { "label": "online", "data": [ [ "1405347300000", 1 ], [ "1405348200000", 2 ] ] }, { "label": "ADK", "data": [ [ "1405353600000", 5 ] ] }, { "label": "ADK Kind", "data": [ [ "1405353600000", 4 ] ] } ]', true); foreach($data as $item) { echo $item['label']; } //echo $data;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 10
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 10
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/ojohU
function name:  (null)
number of ops:  12
compiled vars:  !0 = $data, !1 = $item
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_decode'
          1        SEND_VAL                                                 '%5B%0A++++%7B%0A++++++++%22label%22%3A+%22vvk%22%2C%0A++++++++%22data%22%3A+%5B%0A++++++++++++%5B%0A++++++++++++++++%221404054000000%22%2C%0A++++++++++++++++6%0A++++++++++++%5D%2C%0A++++++++++++%5B%0A++++++++++++++++%221405353600000%22%2C%0A++++++++++++++++10%0A++++++++++++%5D%0A++++++++%5D%0A++++%7D%2C%0A++++%7B%0A++++++++%22label%22%3A+%22vrij%22%2C%0A++++++++%22data%22%3A+%5B%0A++++++++++++%5B%0A++++++++++++++++%221404054000000%22%2C%0A++++++++++++++++4%0A++++++++++++%5D%2C%0A++++++++++++%5B%0A++++++++++++++++%221405353600000%22%2C%0A++++++++++++++++8%0A++++++++++++%5D%0A++++++++%5D%0A++++%7D%2C%0A++++%7B%0A++++++++%22label%22%3A+%22online%22%2C%0A++++++++%22data%22%3A+%5B%0A++++++++++++%5B%0A++++++++++++++++%221405347300000%22%2C%0A++++++++++++++++1%0A++++++++++++%5D%2C%0A++++++++++++%5B%0A++++++++++++++++%221405348200000%22%2C%0A++++++++++++++++2%0A++++++++++++%5D%0A++++++++%5D%0A++++%7D%2C%0A++++%7B%0A++++++++%22label%22%3A+%22ADK%22%2C%0A++++++++%22data%22%3A+%5B%0A++++++++++++%5B%0A++++++++++++++++%221405353600000%22%2C%0A++++++++++++++++5%0A++++++++++++%5D%0A++++++++%5D%0A++++%7D%2C%0A++++%7B%0A++++++++%22label%22%3A+%22ADK+Kind%22%2C%0A++++++++%22data%22%3A+%5B%0A++++++++++++%5B%0A++++++++++++++++%221405353600000%22%2C%0A++++++++++++++++4%0A++++++++++++%5D%0A++++++++%5D%0A++++%7D%0A%5D'
   61     2        SEND_VAL                                                 <true>
          3        DO_ICALL                                         $2      
    3     4        ASSIGN                                                   !0, $2
   63     5      > FE_RESET_R                                       $4      !0, ->10
          6    > > FE_FETCH_R                                               $4, !1, ->10
   64     7    >   FETCH_DIM_R                                      ~5      !1, 'label'
          8        ECHO                                                     ~5
   63     9      > JMP                                                      ->6
         10    >   FE_FREE                                                  $4
   67    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.34 ms | 1395 KiB | 15 Q