3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i=1;$i<=40;$i++){ if(! isset(${"horario" . $i})) ${"horario" . $i} = $i; $myArray[${"horario" . $i}] = 'horario'.$i; } print_r( $myArray );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 2
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 9
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 2
Branch analysis from position: 17
Branch analysis from position: 2
Branch analysis from position: 9
filename:       /in/HnAlu
function name:  (null)
number of ops:  21
compiled vars:  !0 = $i, !1 = $myArray
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1
          1      > JMP                                                      ->15
    4     2    >   CONCAT                                           ~3      'horario', !0
          3        ISSET_ISEMPTY_VAR                             4  ~4      ~3
          4        BOOL_NOT                                         ~5      ~4
          5      > JMPZ                                                     ~5, ->9
          6    >   CONCAT                                           ~6      'horario', !0
          7        FETCH_W                      local               $7      ~6
          8        ASSIGN                                                   $7, !0
    5     9    >   CONCAT                                           ~9      'horario', !0
         10        FETCH_R                      local               ~10     ~9
         11        CONCAT                                           ~12     'horario', !0
         12        ASSIGN_DIM                                               !1, ~10
         13        OP_DATA                                                  ~12
    3    14        PRE_INC                                                  !0
         15    >   IS_SMALLER_OR_EQUAL                                      !0, 40
         16      > JMPNZ                                                    ~14, ->2
    8    17    >   INIT_FCALL                                               'print_r'
         18        SEND_VAR                                                 !1
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.81 ms | 1395 KiB | 15 Q