3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = array_fill_keys(range(1, 12), array()); ##Calculate Market Growth Multiplier $numDates = count($date); for ($i = 0; $i < $numDates; $i++) { if ($i&1) { continue; } echo $i; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 13
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 16
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 13
Branch analysis from position: 20
Branch analysis from position: 13
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 13
Branch analysis from position: 20
Branch analysis from position: 13
filename:       /in/3Nk5v
function name:  (null)
number of ops:  21
compiled vars:  !0 = $date, !1 = $numDates, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'array_fill_keys'
          1        INIT_FCALL                                               'range'
          2        SEND_VAL                                                 1
          3        SEND_VAL                                                 12
          4        DO_ICALL                                         $3      
          5        SEND_VAR                                                 $3
          6        SEND_VAL                                                 <array>
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !0, $4
    6     9        COUNT                                            ~6      !0
         10        ASSIGN                                                   !1, ~6
    8    11        ASSIGN                                                   !2, 0
         12      > JMP                                                      ->18
    9    13    >   BW_AND                                           ~9      !2, 1
         14      > JMPZ                                                     ~9, ->16
   10    15    > > JMP                                                      ->17
   13    16    >   ECHO                                                     !2
    8    17    >   PRE_INC                                                  !2
         18    >   IS_SMALLER                                               !2, !1
         19      > JMPNZ                                                    ~11, ->13
   14    20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.96 ms | 1395 KiB | 17 Q