3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dogs= [ ['name'=>'jippy','age'=>12 ,'address'=>'bhaktapur', 'size'=>[ 'weight'=>52, 'heght' =>2]], ['name'=>'jipu','age'=>2 ,'address'=>'pur', 'size'=>[ 'weight'=>52, 'heght' =>2]] ]; foreach($dogs as $key=> $item){ foreach($item as $innerkey=>$inneritem) { echo $innerkey . ' ' . $inneritem[$innerkey ]."\n"; } }
based on uRX1G
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 15
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 15
Branch analysis from position: 3
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 13
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 13
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 13
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/2XTK2
function name:  (null)
number of ops:  17
compiled vars:  !0 = $dogs, !1 = $item, !2 = $key, !3 = $inneritem, !4 = $innerkey
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   ASSIGN                                                   !0, <array>
   8     1      > FE_RESET_R                                       $6      !0, ->15
         2    > > FE_FETCH_R                                       ~7      $6, !1, ->15
         3    >   ASSIGN                                                   !2, ~7
   9     4      > FE_RESET_R                                       $9      !1, ->13
         5    > > FE_FETCH_R                                       ~10     $9, !3, ->13
         6    >   ASSIGN                                                   !4, ~10
  10     7        CONCAT                                           ~12     !4, '+'
         8        FETCH_DIM_R                                      $13     !3, !4
         9        CONCAT                                           ~14     ~12, $13
        10        CONCAT                                           ~15     ~14, '%0A'
        11        ECHO                                                     ~15
        12      > JMP                                                      ->5
        13    >   FE_FREE                                                  $9
        14      > JMP                                                      ->2
        15    >   FE_FREE                                                  $6
  12    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0