3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach( range( 1, 5) as $x) { print $x . " | "; foreach( range( 1, 6) as $y) { print ($x + $y); print " "; } print "\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 21
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 21
Branch analysis from position: 6
2 jumps found. (Code = 77) Position 1 = 13, Position 2 = 18
Branch analysis from position: 13
2 jumps found. (Code = 78) Position 1 = 14, Position 2 = 18
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 18
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
filename:       /in/nSfMb
function name:  (null)
number of ops:  23
compiled vars:  !0 = $x, !1 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 1
          2        SEND_VAL                                                 5
          3        DO_ICALL                                         $2      
          4      > FE_RESET_R                                       $3      $2, ->21
          5    > > FE_FETCH_R                                               $3, !0, ->21
    4     6    >   CONCAT                                           ~4      !0, '+%7C+'
          7        ECHO                                                     ~4
    5     8        INIT_FCALL                                               'range'
          9        SEND_VAL                                                 1
         10        SEND_VAL                                                 6
         11        DO_ICALL                                         $5      
         12      > FE_RESET_R                                       $6      $5, ->18
         13    > > FE_FETCH_R                                               $6, !1, ->18
    6    14    >   ADD                                              ~7      !0, !1
         15        ECHO                                                     ~7
         16        ECHO                                                     '+'
    5    17      > JMP                                                      ->13
         18    >   FE_FREE                                                  $6
    8    19        ECHO                                                     '%0A'
    3    20      > JMP                                                      ->5
         21    >   FE_FREE                                                  $3
    9    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.01 ms | 1395 KiB | 15 Q