3v4l.org

run code in 300+ PHP versions simultaneously
<?php $requiredColumns = array( 'category', 'products_id', 'brand', 'supplier', 'stock_min', 'stock_max', 'stock_target', 'warehouse', 'status' ); $letters = range('A', 'Z'); foreach ($this->requiredColumns as $key => $cvalue) { $cell_name = $letters[$key] . "1"; echo $cell_name; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 16
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 16
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/PDj7V
function name:  (null)
number of ops:  18
compiled vars:  !0 = $requiredColumns, !1 = $letters, !2 = $cvalue, !3 = $key, !4 = $cell_name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   14     1        INIT_FCALL                                               'range'
          2        SEND_VAL                                                 'A'
          3        SEND_VAL                                                 'Z'
          4        DO_ICALL                                         $6      
          5        ASSIGN                                                   !1, $6
   16     6        FETCH_THIS                                       $8      
          7        FETCH_OBJ_R                                      ~9      $8, 'requiredColumns'
          8      > FE_RESET_R                                       $10     ~9, ->16
          9    > > FE_FETCH_R                                       ~11     $10, !2, ->16
         10    >   ASSIGN                                                   !3, ~11
   17    11        FETCH_DIM_R                                      ~13     !1, !3
         12        CONCAT                                           ~14     ~13, '1'
         13        ASSIGN                                                   !4, ~14
   18    14        ECHO                                                     !4
   16    15      > JMP                                                      ->9
         16    >   FE_FREE                                                  $10
   19    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.77 ms | 1395 KiB | 15 Q