3v4l.org

run code in 300+ PHP versions simultaneously
<?php $alphas = range('A', 'Z'); $cols = $alphas; foreach ($alphas as $alpha) { foreach ($alphas as $alpha2) { $cols[] = $alpha . '' . $alpha2; } } var_dump($cols);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 17
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 17
Branch analysis from position: 8
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 15
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 15
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 15
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/6lX57
function name:  (null)
number of ops:  22
compiled vars:  !0 = $alphas, !1 = $cols, !2 = $alpha, !3 = $alpha2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 'A'
          2        SEND_VAL                                                 'Z'
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !0, $4
    4     5        ASSIGN                                                   !1, !0
    5     6      > FE_RESET_R                                       $7      !0, ->17
          7    > > FE_FETCH_R                                               $7, !2, ->17
    6     8    > > FE_RESET_R                                       $8      !0, ->15
          9    > > FE_FETCH_R                                               $8, !3, ->15
    7    10    >   CONCAT                                           ~10     !2, ''
         11        CONCAT                                           ~11     ~10, !3
         12        ASSIGN_DIM                                               !1
         13        OP_DATA                                                  ~11
    6    14      > JMP                                                      ->9
         15    >   FE_FREE                                                  $8
    5    16      > JMP                                                      ->7
         17    >   FE_FREE                                                  $7
   11    18        INIT_FCALL                                               'var_dump'
         19        SEND_VAR                                                 !1
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.45 ms | 1395 KiB | 17 Q