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) { echo $colorV.' => '.$arrNumbers[$colorK]; echo "\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 12
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 12
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/IISb0
function name:  (null)
number of ops:  14
compiled vars:  !0 = $arrCombined, !1 = $arrColors, !2 = $arrNumbers, !3 = $colorV, !4 = $colorK
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                                       $8      !1, ->12
          4    > > FE_FETCH_R                                       ~9      $8, !3, ->12
          5    >   ASSIGN                                                   !4, ~9
    7     6        CONCAT                                           ~11     !3, '+%3D%3E+'
          7        FETCH_DIM_R                                      ~12     !2, !4
          8        CONCAT                                           ~13     ~11, ~12
          9        ECHO                                                     ~13
    8    10        ECHO                                                     '%0A'
    6    11      > JMP                                                      ->4
         12    >   FE_FREE                                                  $8
    9    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.22 ms | 1393 KiB | 13 Q