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 = join(array($match1, $match2, $match3, $match4, $match5, $match6, $match7, $match8, $match9, $match10, $match11, $match12, $match13, $match14, $match15)); $match12 = substr_count('12', $column); $match21 = substr_count('21', $column); $match101 = substr_count('101', $column); if ( $match12 < 2 ) continue; if ( $match21 < 2 ) continue; if ( $match101 < 1 ) continue; $count++; } echo $count; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 118
Branch analysis from position: 118
2 jumps found. (Code = 44) Position 1 = 120, Position 2 = 3
Branch analysis from position: 120
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 115
Branch analysis from position: 115
2 jumps found. (Code = 44) Position 1 = 117, Position 2 = 5
Branch analysis from position: 117
2 jumps found. (Code = 44) Position 1 = 120, Position 2 = 3
Branch analysis from position: 120
Branch analysis from position: 3
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 112
Branch analysis from position: 112
2 jumps found. (Code = 44) Position 1 = 114, Position 2 = 7
Branch analysis from position: 114
2 jumps found. (Code = 44) Position 1 = 117, Position 2 = 5
Branch analysis from position: 117
Branch analysis from position: 5
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 109
Branch analysis from position: 109
2 jumps found. (Code = 44) Position 1 = 111, Position 2 = 9
Branch analysis from position: 111
2 jumps found. (Code = 44) Position 1 = 114, Position 2 = 7
Branch analysis from position: 114
Branch analysis from position: 7
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 106
Branch analysis from position: 106
2 jumps found. (Code = 44) Position 1 = 108, Position 2 = 11
Branch analysis from position: 108
2 jumps found. (Code = 44) Position 1 = 111, Position 2 = 9
Branch analysis from position: 111
Branch analysis from position: 9
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 103
Branch analysis from position: 103
2 jumps found. (Code = 44) Position 1 = 105, Position 2 = 13
Branch analysis from position: 105
2 jumps found. (Code = 44) Position 1 = 108, Position 2 = 11
Branch analysis from position: 108
Branch analysis from position: 11
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 100
Branch analysis from position: 100
2 jumps found. (Code = 44) Position 1 = 102, Position 2 = 15
Branch analysis from position: 102
2 jumps found. (Code = 44) Position 1 = 105, Position 2 = 13
Branch analysis from position: 105
Branch analysis from position: 13
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 97
Branch analysis from position: 97
2 jumps found. (Code = 44) Position 1 = 99, Position 2 = 17
Branch analysis from position: 99
2 jumps found. (Code = 44) Position 1 = 102, Position 2 = 15
Branch analysis from position: 102
Branch analysis from position: 15
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 94
Branch analysis from position: 94
2 jumps found. (Code = 44) Position 1 = 96, Position 2 = 19
Branch analysis from position: 96
2 jumps found. (Code = 44) Position 1 = 99, Position 2 = 17
Branch analysis from position: 99
Branch analysis from position: 17
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 91
Branch analysis from position: 91
2 jumps found. (Code = 44) Position 1 = 93, Position 2 = 21
Branch analysis from position: 93
2 jumps found. (Code = 44) Position 1 = 96, Position 2 = 19
Branch analysis from position: 96
Branch analysis from position: 19
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 88
Branch analysis from position: 88
2 jumps found. (Code = 44) Position 1 = 90, Position 2 = 23
Branch analysis from position: 90
2 jumps found. (Code = 44) Position 1 = 93, Position 2 = 21
Branch analysis from position: 93
Branch analysis from position: 21
Branch analysis from position: 23
1 jumps found. (Code = 42) Position 1 = 85
Branch analysis from position: 85
2 jumps found. (Code = 44) Position 1 = 87, Position 2 = 25
Branch analysis from position: 87
2 jumps found. (Code = 44) Position 1 = 90, Position 2 = 23
Branch analysis from position: 90
Branch analysis from position: 23
Branch analysis from position: 25
1 jumps found. (Code = 42) Position 1 = 82
Branch analysis from position: 82
2 jumps found. (Code = 44) Position 1 = 84, Position 2 = 27
Branch analysis from position: 84
2 jumps found. (Code = 44) Position 1 = 87, Position 2 = 25
Branch analysis from position: 87
Branch analysis from position: 25
Branch analysis from position: 27
1 jumps found. (Code = 42) Position 1 = 79
Branch analysis from position: 79
2 jumps found. (Code = 44) Position 1 = 81, Position 2 = 29
Branch analysis from position: 81
2 jumps found. (Code = 44) Position 1 = 84, Position 2 = 27
Branch analysis from position: 84
Branch analysis from position: 27
Branch analysis from position: 29
1 jumps found. (Code = 42) Position 1 = 76
Branch analysis from position: 76
2 jumps found. (Code = 44) Position 1 = 78, Position 2 = 31
Branch analysis from position: 78
2 jumps found. (Code = 44) Position 1 = 81, Position 2 = 29
Branch analysis from position: 81
Branch analysis from position: 29
Branch analysis from position: 31
2 jumps found. (Code = 43) Position 1 = 67, Position 2 = 68
Branch analysis from position: 67
1 jumps found. (Code = 42) Position 1 = 75
Branch analysis from position: 75
2 jumps found. (Code = 44) Position 1 = 78, Position 2 = 31
Branch analysis from position: 78
Branch analysis from position: 31
Branch analysis from position: 68
2 jumps found. (Code = 43) Position 1 = 70, Position 2 = 71
Branch analysis from position: 70
1 jumps found. (Code = 42) Position 1 = 75
Branch analysis from position: 75
Branch analysis from position: 71
2 jumps found. (Code = 43) Position 1 = 73, Position 2 = 74
Branch analysis from position: 73
1 jumps found. (Code = 42) Position 1 = 75
Branch analysis from position: 75
Branch analysis from position: 74
2 jumps found. (Code = 44) Position 1 = 78, Position 2 = 31
Branch analysis from position: 78
Branch analysis from position: 31
filename:       /in/iiPeC
function name:  (null)
number of ops:  122
compiled vars:  !0 = $count, !1 = $match1, !2 = $match2, !3 = $match3, !4 = $match4, !5 = $match5, !6 = $match6, !7 = $match7, !8 = $match8, !9 = $match9, !10 = $match10, !11 = $match11, !12 = $match12, !13 = $match13, !14 = $match14, !15 = $match15, !16 = $column, !17 = $match21, !18 = $match101
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
    5     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->118
    6     3    >   ASSIGN                                                   !2, 0
          4      > JMP                                                      ->115
    7     5    >   ASSIGN                                                   !3, 0
          6      > JMP                                                      ->112
    8     7    >   ASSIGN                                                   !4, 0
          8      > JMP                                                      ->109
    9     9    >   ASSIGN                                                   !5, 0
         10      > JMP                                                      ->106
   10    11    >   ASSIGN                                                   !6, 0
         12      > JMP                                                      ->103
   11    13    >   ASSIGN                                                   !7, 0
         14      > JMP                                                      ->100
   12    15    >   ASSIGN                                                   !8, 0
         16      > JMP                                                      ->97
   13    17    >   ASSIGN                                                   !9, 0
         18      > JMP                                                      ->94
   14    19    >   ASSIGN                                                   !10, 0
         20      > JMP                                                      ->91
   15    21    >   ASSIGN                                                   !11, 0
         22      > JMP                                                      ->88
   16    23    >   ASSIGN                                                   !12, 0
         24      > JMP                                                      ->85
   17    25    >   ASSIGN                                                   !13, 0
         26      > JMP                                                      ->82
   18    27    >   ASSIGN                                                   !14, 0
         28      > JMP                                                      ->79
   19    29    >   ASSIGN                                                   !15, 0
         30      > JMP                                                      ->76
   21    31    >   INIT_FCALL                                               'join'
         32        INIT_ARRAY                                       ~35     !1
         33        ADD_ARRAY_ELEMENT                                ~35     !2
         34        ADD_ARRAY_ELEMENT                                ~35     !3
         35        ADD_ARRAY_ELEMENT                                ~35     !4
         36        ADD_ARRAY_ELEMENT                                ~35     !5
         37        ADD_ARRAY_ELEMENT                                ~35     !6
         38        ADD_ARRAY_ELEMENT                                ~35     !7
         39        ADD_ARRAY_ELEMENT                                ~35     !8
         40        ADD_ARRAY_ELEMENT                                ~35     !9
         41        ADD_ARRAY_ELEMENT                                ~35     !10
         42        ADD_ARRAY_ELEMENT                                ~35     !11
         43        ADD_ARRAY_ELEMENT                                ~35     !12
         44        ADD_ARRAY_ELEMENT                                ~35     !13
         45        ADD_ARRAY_ELEMENT                                ~35     !14
         46        ADD_ARRAY_ELEMENT                                ~35     !15
         47        SEND_VAL                                                 ~35
         48        DO_ICALL                                         $36     
         49        ASSIGN                                                   !16, $36
   23    50        INIT_FCALL                                               'substr_count'
         51        SEND_VAL                                                 '12'
         52        SEND_VAR                                                 !16
         53        DO_ICALL                                         $38     
         54        ASSIGN                                                   !12, $38
   24    55        INIT_FCALL                                               'substr_count'
         56        SEND_VAL                                                 '21'
         57        SEND_VAR                                                 !16
         58        DO_ICALL                                         $40     
         59        ASSIGN                                                   !17, $40
   25    60        INIT_FCALL                                               'substr_count'
         61        SEND_VAL                                                 '101'
         62        SEND_VAR                                                 !16
         63        DO_ICALL                                         $42     
         64        ASSIGN                                                   !18, $42
   27    65        IS_SMALLER                                               !12, 2
         66      > JMPZ                                                     ~44, ->68
         67    > > JMP                                                      ->75
   28    68    >   IS_SMALLER                                               !17, 2
         69      > JMPZ                                                     ~45, ->71
         70    > > JMP                                                      ->75
   29    71    >   IS_SMALLER                                               !18, 1
         72      > JMPZ                                                     ~46, ->74
         73    > > JMP                                                      ->75
   31    74    >   PRE_INC                                                  !0
   19    75    >   PRE_INC                                                  !15
         76    >   IS_SMALLER                                               !15, 3
         77      > JMPNZ                                                    ~49, ->31
   18    78    >   PRE_INC                                                  !14
         79    >   IS_SMALLER                                               !14, 3
         80      > JMPNZ                                                    ~51, ->29
   17    81    >   PRE_INC                                                  !13
         82    >   IS_SMALLER                                               !13, 3
         83      > JMPNZ                                                    ~53, ->27
   16    84    >   PRE_INC                                                  !12
         85    >   IS_SMALLER                                               !12, 3
         86      > JMPNZ                                                    ~55, ->25
   15    87    >   PRE_INC                                                  !11
         88    >   IS_SMALLER                                               !11, 3
         89      > JMPNZ                                                    ~57, ->23
   14    90    >   PRE_INC                                                  !10
         91    >   IS_SMALLER                                               !10, 3
         92      > JMPNZ                                                    ~59, ->21
   13    93    >   PRE_INC                                                  !9
         94    >   IS_SMALLER                                               !9, 3
         95      > JMPNZ                                                    ~61, ->19
   12    96    >   PRE_INC                                                  !8
         97    >   IS_SMALLER                                               !8, 3
         98      > JMPNZ                                                    ~63, ->17
   11    99    >   PRE_INC                                                  !7
        100    >   IS_SMALLER                                               !7, 3
        101      > JMPNZ                                                    ~65, ->15
   10   102    >   PRE_INC                                                  !6
        103    >   IS_SMALLER                                               !6, 3
        104      > JMPNZ                                                    ~67, ->13
    9   105    >   PRE_INC                                                  !5
        106    >   IS_SMALLER                                               !5, 3
        107      > JMPNZ                                                    ~69, ->11
    8   108    >   PRE_INC                                                  !4
        109    >   IS_SMALLER                                               !4, 3
        110      > JMPNZ                                                    ~71, ->9
    7   111    >   PRE_INC                                                  !3
        112    >   IS_SMALLER                                               !3, 3
        113      > JMPNZ                                                    ~73, ->7
    6   114    >   PRE_INC                                                  !2
        115    >   IS_SMALLER                                               !2, 3
        116      > JMPNZ                                                    ~75, ->5
    5   117    >   PRE_INC                                                  !1
        118    >   IS_SMALLER                                               !1, 3
        119      > JMPNZ                                                    ~77, ->3
   35   120    >   ECHO                                                     !0
   37   121      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.9 ms | 1404 KiB | 17 Q