3v4l.org

run code in 300+ PHP versions simultaneously
<?php $teams=array('team_one','team_two','team_three'); foreach($teams AS $team) { foreach($teams AS $opposition) { if($team != $opposition) { echo "$team v $opposition\n"; } } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 15
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 15
Branch analysis from position: 3
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 13
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 13
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 12
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 12
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 13
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/i2HZo
function name:  (null)
number of ops:  17
compiled vars:  !0 = $teams, !1 = $team, !2 = $opposition
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1      > FE_RESET_R                                       $4      !0, ->15
          2    > > FE_FETCH_R                                               $4, !1, ->15
    5     3    > > FE_RESET_R                                       $5      !0, ->13
          4    > > FE_FETCH_R                                               $5, !2, ->13
    6     5    >   IS_NOT_EQUAL                                             !1, !2
          6      > JMPZ                                                     ~6, ->12
    7     7    >   ROPE_INIT                                     4  ~8      !1
          8        ROPE_ADD                                      1  ~8      ~8, '+v+'
          9        ROPE_ADD                                      2  ~8      ~8, !2
         10        ROPE_END                                      3  ~7      ~8, '%0A'
         11        ECHO                                                     ~7
    5    12    > > JMP                                                      ->4
         13    >   FE_FREE                                                  $5
    4    14      > JMP                                                      ->2
         15    >   FE_FREE                                                  $4
   10    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.86 ms | 1434 KiB | 13 Q