3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arrCombined = array(); $arrColors = array('R', 'B', 'G' ,'Y'); $arrNumbers = array('1', '2', '3', '4'); foreach($arrColors as $colorK => $colorV) { foreach($arrNumbers as $numK => $numV) { echo $colorV.' => '.$arrNumbers[$colorK]; echo "\n"; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 17
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 17
Branch analysis from position: 5
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 15
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 15
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 15
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/jZKQT
function name:  (null)
number of ops:  19
compiled vars:  !0 = $arrCombined, !1 = $arrColors, !2 = $arrNumbers, !3 = $colorV, !4 = $colorK, !5 = $numV, !6 = $numK
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        ASSIGN                                                   !2, <array>
    6     3      > FE_RESET_R                                       $10     !1, ->17
          4    > > FE_FETCH_R                                       ~11     $10, !3, ->17
          5    >   ASSIGN                                                   !4, ~11
    7     6      > FE_RESET_R                                       $13     !2, ->15
          7    > > FE_FETCH_R                                       ~14     $13, !5, ->15
          8    >   ASSIGN                                                   !6, ~14
    8     9        CONCAT                                           ~16     !3, '+%3D%3E+'
         10        FETCH_DIM_R                                      ~17     !2, !4
         11        CONCAT                                           ~18     ~16, ~17
         12        ECHO                                                     ~18
    9    13        ECHO                                                     '%0A'
    7    14      > JMP                                                      ->7
         15    >   FE_FREE                                                  $13
    6    16      > JMP                                                      ->4
         17    >   FE_FREE                                                  $10
   11    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.33 ms | 1398 KiB | 13 Q