3v4l.org

run code in 300+ PHP versions simultaneously
<?php $teams=array('team_one','team_two','team_three'); $count = count($teams); for ($i = 0; $i < $count; $i++) { for($j = 0; $j < $count; $j++) { if ($i == $j) continue; echo $teams[i] . " vs ". $teams[$j] . "\n"; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
2 jumps found. (Code = 44) Position 1 = 23, Position 2 = 5
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 7
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 23, Position 2 = 5
Branch analysis from position: 23
Branch analysis from position: 5
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 7
Branch analysis from position: 20
Branch analysis from position: 7
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 7
Branch analysis from position: 20
Branch analysis from position: 7
filename:       /in/uNmGd
function name:  (null)
number of ops:  24
compiled vars:  !0 = $teams, !1 = $count, !2 = $i, !3 = $j
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        COUNT                                            ~5      !0
          2        ASSIGN                                                   !1, ~5
    4     3        ASSIGN                                                   !2, 0
          4      > JMP                                                      ->21
    5     5    >   ASSIGN                                                   !3, 0
          6      > JMP                                                      ->18
    6     7    >   IS_EQUAL                                                 !2, !3
          8      > JMPZ                                                     ~9, ->10
          9    > > JMP                                                      ->17
    7    10    >   FETCH_CONSTANT                                   ~10     'i'
         11        FETCH_DIM_R                                      ~11     !0, ~10
         12        CONCAT                                           ~12     ~11, '+vs+'
         13        FETCH_DIM_R                                      ~13     !0, !3
         14        CONCAT                                           ~14     ~12, ~13
         15        CONCAT                                           ~15     ~14, '%0A'
         16        ECHO                                                     ~15
    5    17    >   PRE_INC                                                  !3
         18    >   IS_SMALLER                                               !3, !1
         19      > JMPNZ                                                    ~17, ->7
    4    20    >   PRE_INC                                                  !2
         21    >   IS_SMALLER                                               !2, !1
         22      > JMPNZ                                                    ~19, ->5
    9    23    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.4 ms | 1395 KiB | 13 Q