3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = json_decode('{"requestId":"546b384ce51f469a2e8b4567","numbers":{"917566559950":{"date":"2014-11-18 17:45:59","status":1,"desc":"DELIVERED"}}}',true); foreach($data['numbers'] as $key => $val){ foreach($val AS $key2 => $value){ echo $key2." is ".$value."\n"; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 19
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 19
Branch analysis from position: 8
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 17
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 17
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 17
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
filename:       /in/VIDtE
function name:  (null)
number of ops:  21
compiled vars:  !0 = $data, !1 = $val, !2 = $key, !3 = $value, !4 = $key2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'json_decode'
          1        SEND_VAL                                                 '%7B%22requestId%22%3A%22546b384ce51f469a2e8b4567%22%2C%22numbers%22%3A%7B%22917566559950%22%3A%7B%22date%22%3A%222014-11-18+17%3A45%3A59%22%2C%22status%22%3A1%2C%22desc%22%3A%22DELIVERED%22%7D%7D%7D'
          2        SEND_VAL                                                 <true>
          3        DO_ICALL                                         $5      
          4        ASSIGN                                                   !0, $5
    3     5        FETCH_DIM_R                                      ~7      !0, 'numbers'
          6      > FE_RESET_R                                       $8      ~7, ->19
          7    > > FE_FETCH_R                                       ~9      $8, !1, ->19
          8    >   ASSIGN                                                   !2, ~9
    4     9      > FE_RESET_R                                       $11     !1, ->17
         10    > > FE_FETCH_R                                       ~12     $11, !3, ->17
         11    >   ASSIGN                                                   !4, ~12
    5    12        CONCAT                                           ~14     !4, '+is+'
         13        CONCAT                                           ~15     ~14, !3
         14        CONCAT                                           ~16     ~15, '%0A'
         15        ECHO                                                     ~16
    4    16      > JMP                                                      ->10
         17    >   FE_FREE                                                  $11
    3    18      > JMP                                                      ->7
         19    >   FE_FREE                                                  $8
    7    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.09 ms | 1002 KiB | 14 Q