3v4l.org

run code in 300+ PHP versions simultaneously
<?php $count = 0; /* for ( $match1 = 0; $match1 < 3; $match1++ ) for ( $match2 = 0; $match2 < 3; $match2++ ) for ( $match3 = 0; $match3 < 3; $match3++ ) for ( $match4 = 0; $match4 < 3; $match4++ ) for ( $match5 = 0; $match5 < 3; $match5++ ) for ( $match6 = 0; $match6 < 3; $match6++ ) for ( $match7 = 0; $match7 < 3; $match7++ ) for ( $match8 = 0; $match8 < 3; $match8++ ) for ( $match9 = 0; $match9 < 3; $match9++ ) for ( $match10 = 0; $match10 < 3; $match10++ ) for ( $match11 = 0; $match11 < 3; $match11++ ) for ( $match12 = 0; $match12 < 3; $match12++ ) for ( $match13 = 0; $match13 < 3; $match13++ )*/ for ( $match14 = 0; $match14 < 3; $match14++ ) for ( $match15 = 0; $match15 < 3; $match15++ ) { $column = implode('', array($match1, $match2, $match3, $match4, $match5, $match6, $match7, $match8, $match9, $match10, $match11, $match12, $match13, $match14, $match15)); preg_match_all('/101/', $column, $matches); $match101 = (array) $matches[0]; if ( count($match101) < 1 ) continue; $count++; } echo $count; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 42
Branch analysis from position: 42
2 jumps found. (Code = 44) Position 1 = 44, Position 2 = 3
Branch analysis from position: 44
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 39
Branch analysis from position: 39
2 jumps found. (Code = 44) Position 1 = 41, Position 2 = 5
Branch analysis from position: 41
2 jumps found. (Code = 44) Position 1 = 44, Position 2 = 3
Branch analysis from position: 44
Branch analysis from position: 3
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 36, Position 2 = 37
Branch analysis from position: 36
1 jumps found. (Code = 42) Position 1 = 38
Branch analysis from position: 38
2 jumps found. (Code = 44) Position 1 = 41, Position 2 = 5
Branch analysis from position: 41
Branch analysis from position: 5
Branch analysis from position: 37
2 jumps found. (Code = 44) Position 1 = 41, Position 2 = 5
Branch analysis from position: 41
Branch analysis from position: 5
filename:       /in/B1F2O
function name:  (null)
number of ops:  46
compiled vars:  !0 = $count, !1 = $match14, !2 = $match15, !3 = $column, !4 = $match1, !5 = $match2, !6 = $match3, !7 = $match4, !8 = $match5, !9 = $match6, !10 = $match7, !11 = $match8, !12 = $match9, !13 = $match10, !14 = $match11, !15 = $match12, !16 = $match13, !17 = $matches, !18 = $match101
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
   18     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->42
   19     3    >   ASSIGN                                                   !2, 0
          4      > JMP                                                      ->39
   21     5    >   INIT_FCALL                                               'implode'
          6        SEND_VAL                                                 ''
          7        INIT_ARRAY                                       ~22     !4
          8        ADD_ARRAY_ELEMENT                                ~22     !5
          9        ADD_ARRAY_ELEMENT                                ~22     !6
         10        ADD_ARRAY_ELEMENT                                ~22     !7
         11        ADD_ARRAY_ELEMENT                                ~22     !8
         12        ADD_ARRAY_ELEMENT                                ~22     !9
         13        ADD_ARRAY_ELEMENT                                ~22     !10
         14        ADD_ARRAY_ELEMENT                                ~22     !11
         15        ADD_ARRAY_ELEMENT                                ~22     !12
         16        ADD_ARRAY_ELEMENT                                ~22     !13
         17        ADD_ARRAY_ELEMENT                                ~22     !14
         18        ADD_ARRAY_ELEMENT                                ~22     !15
         19        ADD_ARRAY_ELEMENT                                ~22     !16
         20        ADD_ARRAY_ELEMENT                                ~22     !1
         21        ADD_ARRAY_ELEMENT                                ~22     !2
         22        SEND_VAL                                                 ~22
         23        DO_ICALL                                         $23     
         24        ASSIGN                                                   !3, $23
   23    25        INIT_FCALL                                               'preg_match_all'
         26        SEND_VAL                                                 '%2F101%2F'
         27        SEND_VAR                                                 !3
         28        SEND_REF                                                 !17
         29        DO_ICALL                                                 
   25    30        FETCH_DIM_R                                      ~26     !17, 0
         31        CAST                                          7  ~27     ~26
         32        ASSIGN                                                   !18, ~27
   27    33        COUNT                                            ~29     !18
         34        IS_SMALLER                                               ~29, 1
         35      > JMPZ                                                     ~30, ->37
         36    > > JMP                                                      ->38
   29    37    >   PRE_INC                                                  !0
   19    38    >   PRE_INC                                                  !2
         39    >   IS_SMALLER                                               !2, 3
         40      > JMPNZ                                                    ~33, ->5
   18    41    >   PRE_INC                                                  !1
         42    >   IS_SMALLER                                               !1, 3
         43      > JMPNZ                                                    ~35, ->3
   33    44    >   ECHO                                                     !0
   35    45      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.12 ms | 1392 KiB | 17 Q