3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = []; for ($i = 0; $i < 5; ++$i) { if ($i == 2) { continue; } print "$i\n"; $arr[] = $i; $count++; $i[number]; } var_dump($arr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 3
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 3
Branch analysis from position: 18
Branch analysis from position: 3
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 3
Branch analysis from position: 18
Branch analysis from position: 3
filename:       /in/f6EY2
function name:  (null)
number of ops:  22
compiled vars:  !0 = $arr, !1 = $i, !2 = $count
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->16
    4     3    >   IS_EQUAL                                                 !1, 2
          4      > JMPZ                                                     ~5, ->6
    5     5    > > JMP                                                      ->15
    7     6    >   NOP                                                      
          7        FAST_CONCAT                                      ~6      !1, '%0A'
          8        ECHO                                                     ~6
    8     9        ASSIGN_DIM                                               !0
         10        OP_DATA                                                  !1
    9    11        PRE_INC                                                  !2
   10    12        FETCH_CONSTANT                                   ~9      'number'
         13        FETCH_DIM_R                                      ~10     !1, ~9
         14        FREE                                                     ~10
    3    15    >   PRE_INC                                                  !1
         16    >   IS_SMALLER                                               !1, 5
         17      > JMPNZ                                                    ~12, ->3
   13    18    >   INIT_FCALL                                               'var_dump'
         19        SEND_VAR                                                 !0
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.66 ms | 1395 KiB | 15 Q