3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_time_limit(0); $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 = 121
Branch analysis from position: 121
2 jumps found. (Code = 44) Position 1 = 123, Position 2 = 6
Branch analysis from position: 123
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 118
Branch analysis from position: 118
2 jumps found. (Code = 44) Position 1 = 120, Position 2 = 8
Branch analysis from position: 120
2 jumps found. (Code = 44) Position 1 = 123, Position 2 = 6
Branch analysis from position: 123
Branch analysis from position: 6
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 115
Branch analysis from position: 115
2 jumps found. (Code = 44) Position 1 = 117, Position 2 = 10
Branch analysis from position: 117
2 jumps found. (Code = 44) Position 1 = 120, Position 2 = 8
Branch analysis from position: 120
Branch analysis from position: 8
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 112
Branch analysis from position: 112
2 jumps found. (Code = 44) Position 1 = 114, Position 2 = 12
Branch analysis from position: 114
2 jumps found. (Code = 44) Position 1 = 117, Position 2 = 10
Branch analysis from position: 117
Branch analysis from position: 10
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 109
Branch analysis from position: 109
2 jumps found. (Code = 44) Position 1 = 111, Position 2 = 14
Branch analysis from position: 111
2 jumps found. (Code = 44) Position 1 = 114, Position 2 = 12
Branch analysis from position: 114
Branch analysis from position: 12
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 106
Branch analysis from position: 106
2 jumps found. (Code = 44) Position 1 = 108, Position 2 = 16
Branch analysis from position: 108
2 jumps found. (Code = 44) Position 1 = 111, Position 2 = 14
Branch analysis from position: 111
Branch analysis from position: 14
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 103
Branch analysis from position: 103
2 jumps found. (Code = 44) Position 1 = 105, Position 2 = 18
Branch analysis from position: 105
2 jumps found. (Code = 44) Position 1 = 108, Position 2 = 16
Branch analysis from position: 108
Branch analysis from position: 16
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 100
Branch analysis from position: 100
2 jumps found. (Code = 44) Position 1 = 102, Position 2 = 20
Branch analysis from position: 102
2 jumps found. (Code = 44) Position 1 = 105, Position 2 = 18
Branch analysis from position: 105
Branch analysis from position: 18
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 97
Branch analysis from position: 97
2 jumps found. (Code = 44) Position 1 = 99, Position 2 = 22
Branch analysis from position: 99
2 jumps found. (Code = 44) Position 1 = 102, Position 2 = 20
Branch analysis from position: 102
Branch analysis from position: 20
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 94
Branch analysis from position: 94
2 jumps found. (Code = 44) Position 1 = 96, Position 2 = 24
Branch analysis from position: 96
2 jumps found. (Code = 44) Position 1 = 99, Position 2 = 22
Branch analysis from position: 99
Branch analysis from position: 22
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 91
Branch analysis from position: 91
2 jumps found. (Code = 44) Position 1 = 93, Position 2 = 26
Branch analysis from position: 93
2 jumps found. (Code = 44) Position 1 = 96, Position 2 = 24
Branch analysis from position: 96
Branch analysis from position: 24
Branch analysis from position: 26
1 jumps found. (Code = 42) Position 1 = 88
Branch analysis from position: 88
2 jumps found. (Code = 44) Position 1 = 90, Position 2 = 28
Branch analysis from position: 90
2 jumps found. (Code = 44) Position 1 = 93, Position 2 = 26
Branch analysis from position: 93
Branch analysis from position: 26
Branch analysis from position: 28
1 jumps found. (Code = 42) Position 1 = 85
Branch analysis from position: 85
2 jumps found. (Code = 44) Position 1 = 87, Position 2 = 30
Branch analysis from position: 87
2 jumps found. (Code = 44) Position 1 = 90, Position 2 = 28
Branch analysis from position: 90
Branch analysis from position: 28
Branch analysis from position: 30
1 jumps found. (Code = 42) Position 1 = 82
Branch analysis from position: 82
2 jumps found. (Code = 44) Position 1 = 84, Position 2 = 32
Branch analysis from position: 84
2 jumps found. (Code = 44) Position 1 = 87, Position 2 = 30
Branch analysis from position: 87
Branch analysis from position: 30
Branch analysis from position: 32
1 jumps found. (Code = 42) Position 1 = 79
Branch analysis from position: 79
2 jumps found. (Code = 44) Position 1 = 81, Position 2 = 34
Branch analysis from position: 81
2 jumps found. (Code = 44) Position 1 = 84, Position 2 = 32
Branch analysis from position: 84
Branch analysis from position: 32
Branch analysis from position: 34
2 jumps found. (Code = 43) Position 1 = 70, Position 2 = 71
Branch analysis from position: 70
1 jumps found. (Code = 42) Position 1 = 78
Branch analysis from position: 78
2 jumps found. (Code = 44) Position 1 = 81, Position 2 = 34
Branch analysis from position: 81
Branch analysis from position: 34
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 = 78
Branch analysis from position: 78
Branch analysis from position: 74
2 jumps found. (Code = 43) Position 1 = 76, Position 2 = 77
Branch analysis from position: 76
1 jumps found. (Code = 42) Position 1 = 78
Branch analysis from position: 78
Branch analysis from position: 77
2 jumps found. (Code = 44) Position 1 = 81, Position 2 = 34
Branch analysis from position: 81
Branch analysis from position: 34
filename:       /in/vH0Wl
function name:  (null)
number of ops:  125
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
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'set_time_limit'
          1        SEND_VAL                                                 0
          2        DO_ICALL                                                 
    4     3        ASSIGN                                                   !0, 0
    6     4        ASSIGN                                                   !1, 0
          5      > JMP                                                      ->121
    7     6    >   ASSIGN                                                   !2, 0
          7      > JMP                                                      ->118
    8     8    >   ASSIGN                                                   !3, 0
          9      > JMP                                                      ->115
    9    10    >   ASSIGN                                                   !4, 0
         11      > JMP                                                      ->112
   10    12    >   ASSIGN                                                   !5, 0
         13      > JMP                                                      ->109
   11    14    >   ASSIGN                                                   !6, 0
         15      > JMP                                                      ->106
   12    16    >   ASSIGN                                                   !7, 0
         17      > JMP                                                      ->103
   13    18    >   ASSIGN                                                   !8, 0
         19      > JMP                                                      ->100
   14    20    >   ASSIGN                                                   !9, 0
         21      > JMP                                                      ->97
   15    22    >   ASSIGN                                                   !10, 0
         23      > JMP                                                      ->94
   16    24    >   ASSIGN                                                   !11, 0
         25      > JMP                                                      ->91
   17    26    >   ASSIGN                                                   !12, 0
         27      > JMP                                                      ->88
   18    28    >   ASSIGN                                                   !13, 0
         29      > JMP                                                      ->85
   19    30    >   ASSIGN                                                   !14, 0
         31      > JMP                                                      ->82
   20    32    >   ASSIGN                                                   !15, 0
         33      > JMP                                                      ->79
   22    34    >   INIT_FCALL                                               'join'
         35        INIT_ARRAY                                       ~36     !1
         36        ADD_ARRAY_ELEMENT                                ~36     !2
         37        ADD_ARRAY_ELEMENT                                ~36     !3
         38        ADD_ARRAY_ELEMENT                                ~36     !4
         39        ADD_ARRAY_ELEMENT                                ~36     !5
         40        ADD_ARRAY_ELEMENT                                ~36     !6
         41        ADD_ARRAY_ELEMENT                                ~36     !7
         42        ADD_ARRAY_ELEMENT                                ~36     !8
         43        ADD_ARRAY_ELEMENT                                ~36     !9
         44        ADD_ARRAY_ELEMENT                                ~36     !10
         45        ADD_ARRAY_ELEMENT                                ~36     !11
         46        ADD_ARRAY_ELEMENT                                ~36     !12
         47        ADD_ARRAY_ELEMENT                                ~36     !13
         48        ADD_ARRAY_ELEMENT                                ~36     !14
         49        ADD_ARRAY_ELEMENT                                ~36     !15
         50        SEND_VAL                                                 ~36
         51        DO_ICALL                                         $37     
         52        ASSIGN                                                   !16, $37
   24    53        INIT_FCALL                                               'substr_count'
         54        SEND_VAL                                                 '12'
         55        SEND_VAR                                                 !16
         56        DO_ICALL                                         $39     
         57        ASSIGN                                                   !12, $39
   25    58        INIT_FCALL                                               'substr_count'
         59        SEND_VAL                                                 '21'
         60        SEND_VAR                                                 !16
         61        DO_ICALL                                         $41     
         62        ASSIGN                                                   !17, $41
   26    63        INIT_FCALL                                               'substr_count'
         64        SEND_VAL                                                 '101'
         65        SEND_VAR                                                 !16
         66        DO_ICALL                                         $43     
         67        ASSIGN                                                   !18, $43
   28    68        IS_SMALLER                                               !12, 2
         69      > JMPZ                                                     ~45, ->71
         70    > > JMP                                                      ->78
   29    71    >   IS_SMALLER                                               !17, 2
         72      > JMPZ                                                     ~46, ->74
         73    > > JMP                                                      ->78
   30    74    >   IS_SMALLER                                               !18, 1
         75      > JMPZ                                                     ~47, ->77
         76    > > JMP                                                      ->78
   32    77    >   PRE_INC                                                  !0
   20    78    >   PRE_INC                                                  !15
         79    >   IS_SMALLER                                               !15, 3
         80      > JMPNZ                                                    ~50, ->34
   19    81    >   PRE_INC                                                  !14
         82    >   IS_SMALLER                                               !14, 3
         83      > JMPNZ                                                    ~52, ->32
   18    84    >   PRE_INC                                                  !13
         85    >   IS_SMALLER                                               !13, 3
         86      > JMPNZ                                                    ~54, ->30
   17    87    >   PRE_INC                                                  !12
         88    >   IS_SMALLER                                               !12, 3
         89      > JMPNZ                                                    ~56, ->28
   16    90    >   PRE_INC                                                  !11
         91    >   IS_SMALLER                                               !11, 3
         92      > JMPNZ                                                    ~58, ->26
   15    93    >   PRE_INC                                                  !10
         94    >   IS_SMALLER                                               !10, 3
         95      > JMPNZ                                                    ~60, ->24
   14    96    >   PRE_INC                                                  !9
         97    >   IS_SMALLER                                               !9, 3
         98      > JMPNZ                                                    ~62, ->22
   13    99    >   PRE_INC                                                  !8
        100    >   IS_SMALLER                                               !8, 3
        101      > JMPNZ                                                    ~64, ->20
   12   102    >   PRE_INC                                                  !7
        103    >   IS_SMALLER                                               !7, 3
        104      > JMPNZ                                                    ~66, ->18
   11   105    >   PRE_INC                                                  !6
        106    >   IS_SMALLER                                               !6, 3
        107      > JMPNZ                                                    ~68, ->16
   10   108    >   PRE_INC                                                  !5
        109    >   IS_SMALLER                                               !5, 3
        110      > JMPNZ                                                    ~70, ->14
    9   111    >   PRE_INC                                                  !4
        112    >   IS_SMALLER                                               !4, 3
        113      > JMPNZ                                                    ~72, ->12
    8   114    >   PRE_INC                                                  !3
        115    >   IS_SMALLER                                               !3, 3
        116      > JMPNZ                                                    ~74, ->10
    7   117    >   PRE_INC                                                  !2
        118    >   IS_SMALLER                                               !2, 3
        119      > JMPNZ                                                    ~76, ->8
    6   120    >   PRE_INC                                                  !1
        121    >   IS_SMALLER                                               !1, 3
        122      > JMPNZ                                                    ~78, ->6
   36   123    >   ECHO                                                     !0
   38   124      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.07 ms | 1412 KiB | 19 Q