3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1 = [343,353,353,646,757,8]; $arr2 = [35,353,646,75,23,23]; foreach($arr1 as $key => $val){ echo $val . "\n"; echo $arr2[$key] . "\n\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 11
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 11
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/Pj8g5
function name:  (null)
number of ops:  13
compiled vars:  !0 = $arr1, !1 = $arr2, !2 = $val, !3 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN                                                   !1, <array>
    7     2      > FE_RESET_R                                       $6      !0, ->11
          3    > > FE_FETCH_R                                       ~7      $6, !2, ->11
          4    >   ASSIGN                                                   !3, ~7
    8     5        CONCAT                                           ~9      !2, '%0A'
          6        ECHO                                                     ~9
    9     7        FETCH_DIM_R                                      ~10     !1, !3
          8        CONCAT                                           ~11     ~10, '%0A%0A'
          9        ECHO                                                     ~11
    7    10      > JMP                                                      ->3
         11    >   FE_FREE                                                  $6
   10    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.47 ms | 1393 KiB | 13 Q