3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array['messi']['google'] = 2; $array['messi']['yahoo'] = 2; $array['ronaldo']['google'] = 1; $array['ronaldo']['yahoo'] = 1; foreach($array as $person => $searchEngineCounts) { echo $person."\n"; foreach($searchEngineCounts as $engine => $count) { echo $engine . ": " . $count . "\n"; } echo "\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 13, Position 2 = 28
Branch analysis from position: 13
2 jumps found. (Code = 78) Position 1 = 14, Position 2 = 28
Branch analysis from position: 14
2 jumps found. (Code = 77) Position 1 = 18, Position 2 = 25
Branch analysis from position: 18
2 jumps found. (Code = 78) Position 1 = 19, Position 2 = 25
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
Branch analysis from position: 25
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
Branch analysis from position: 25
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 28
filename:       /in/MiGA8
function name:  (null)
number of ops:  30
compiled vars:  !0 = $array, !1 = $searchEngineCounts, !2 = $person, !3 = $count, !4 = $engine
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_DIM_W                                      $5      !0, 'messi'
          1        ASSIGN_DIM                                               $5, 'google'
          2        OP_DATA                                                  2
    4     3        FETCH_DIM_W                                      $7      !0, 'messi'
          4        ASSIGN_DIM                                               $7, 'yahoo'
          5        OP_DATA                                                  2
    5     6        FETCH_DIM_W                                      $9      !0, 'ronaldo'
          7        ASSIGN_DIM                                               $9, 'google'
          8        OP_DATA                                                  1
    6     9        FETCH_DIM_W                                      $11     !0, 'ronaldo'
         10        ASSIGN_DIM                                               $11, 'yahoo'
         11        OP_DATA                                                  1
    8    12      > FE_RESET_R                                       $13     !0, ->28
         13    > > FE_FETCH_R                                       ~14     $13, !1, ->28
         14    >   ASSIGN                                                   !2, ~14
   10    15        CONCAT                                           ~16     !2, '%0A'
         16        ECHO                                                     ~16
   12    17      > FE_RESET_R                                       $17     !1, ->25
         18    > > FE_FETCH_R                                       ~18     $17, !3, ->25
         19    >   ASSIGN                                                   !4, ~18
   14    20        CONCAT                                           ~20     !4, '%3A+'
         21        CONCAT                                           ~21     ~20, !3
         22        CONCAT                                           ~22     ~21, '%0A'
         23        ECHO                                                     ~22
   12    24      > JMP                                                      ->18
         25    >   FE_FREE                                                  $17
   17    26        ECHO                                                     '%0A'
    8    27      > JMP                                                      ->13
         28    >   FE_FREE                                                  $13
   18    29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.09 ms | 1395 KiB | 13 Q