3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dogs = [ ['breed' => 'Cocker Spaniel', 'name' => ' Jypsy', 'size' => [ 'width'=> 5, 'height'=> 10]], ['breed' => 'german ', 'name' => ' Jypsy', 'size' => [ 'width'=>5, 'height'=> 10]], ['breed' => 'Shiba Inu', 'name' => ' Kotetsu', 'size' => [ 'width'=> 5, 'height'=> 10]], ['breed' => 'Unknown', 'name' => ' Sheru ', 'size' => [ 'width'=>5, 'height'=> 10]], ]; foreach($dogs as $key=>$item){ foreach($item as $dogkey=>$dogitem) { print_r($dogitem); } } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 13
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 13
Branch analysis from position: 3
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 11
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 11
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 11
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/fs6VY
function name:  (null)
number of ops:  15
compiled vars:  !0 = $dogs, !1 = $item, !2 = $key, !3 = $dogitem, !4 = $dogkey
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   16     1      > FE_RESET_R                                       $6      !0, ->13
          2    > > FE_FETCH_R                                       ~7      $6, !1, ->13
          3    >   ASSIGN                                                   !2, ~7
   17     4      > FE_RESET_R                                       $9      !1, ->11
          5    > > FE_FETCH_R                                       ~10     $9, !3, ->11
          6    >   ASSIGN                                                   !4, ~10
   18     7        INIT_FCALL                                               'print_r'
          8        SEND_VAR                                                 !3
          9        DO_ICALL                                                 
   17    10      > JMP                                                      ->5
         11    >   FE_FREE                                                  $9
   16    12      > JMP                                                      ->2
         13    >   FE_FREE                                                  $6
   25    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.89 ms | 1395 KiB | 15 Q