3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = json_encode('{"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]]}'); foreach($data as $mydata) { echo $mydata->label . "\n"; } echo $data;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 10
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 10
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/CJsOs
function name:  (null)
number of ops:  13
compiled vars:  !0 = $data, !1 = $mydata
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_encode'
          1        SEND_VAL                                                 '%7B%22label%22%3A%22vvk%22%2C%22data%22%3A%5B%5B%221404054000000%22%2C6%5D%2C%5B%221405353600000%22%2C10%5D%5D%7D%2C%7B%22label%22%3A%22vrij%22%2C%22data%22%3A%5B%5B%221404054000000%22%2C4%5D%2C%5B%221405353600000%22%2C8%5D%5D%7D%2C%7B%22label%22%3A%22online%22%2C%22data%22%3A%5B%5B%221405347300000%22%2C1%5D%2C%5B%221405348200000%22%2C2%5D%5D%7D%2C%7B%22label%22%3A%22ADK%22%2C%22data%22%3A%5B%5B%221405353600000%22%2C5%5D%5D%7D%2C%7B%22label%22%3A%22ADK+Kind%22%2C%22data%22%3A%5B%5B%221405353600000%22%2C4%5D%5D%7D'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    5     4      > FE_RESET_R                                       $4      !0, ->10
          5    > > FE_FETCH_R                                               $4, !1, ->10
    7     6    >   FETCH_OBJ_R                                      ~5      !1, 'label'
          7        CONCAT                                           ~6      ~5, '%0A'
          8        ECHO                                                     ~6
    5     9      > JMP                                                      ->5
         10    >   FE_FREE                                                  $4
   11    11        ECHO                                                     !0
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.71 ms | 1386 KiB | 15 Q