3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ [ 'id' => '1', '1', 'name' => 'Médor', 'Médor', 'species' => 'chien', 'chien', 'age' => '4', '4', ], [ 'id' => '2', '2', 'name' => 'Félix', 'Félix', 'species' => 'chat', 'chat', 'age' => '97', '97', ], [ 'id' => '3', '3', 'name' => 'Denver', 'Denver', 'species' => 'dinosaure', 'dinosaure', 'age' => '65000000', '65000000', ], ]; foreach($arr as $key => $value) { echo 'id : ' . $value['id']; echo '<br />'; echo 'name: ' . $value['name']; echo '<br />'; }
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
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/D7mt7
function name:  (null)
number of ops:  15
compiled vars:  !0 = $arr, !1 = $value, !2 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   36     1      > FE_RESET_R                                       $4      !0, ->13
          2    > > FE_FETCH_R                                       ~5      $4, !1, ->13
          3    >   ASSIGN                                                   !2, ~5
   37     4        FETCH_DIM_R                                      ~7      !1, 'id'
          5        CONCAT                                           ~8      'id+%3A+', ~7
          6        ECHO                                                     ~8
   38     7        ECHO                                                     '%3Cbr+%2F%3E'
   39     8        FETCH_DIM_R                                      ~9      !1, 'name'
          9        CONCAT                                           ~10     'name%3A+', ~9
         10        ECHO                                                     ~10
   40    11        ECHO                                                     '%3Cbr+%2F%3E'
   36    12      > JMP                                                      ->2
         13    >   FE_FREE                                                  $4
   41    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.48 ms | 996 KiB | 13 Q