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)); $count0 = substr_count($column, '0'); $count1 = substr_count($column, '1'); $count2 = substr_count($column, '2'); $count12 = substr_count($column, '12'); $count21 = substr_count($column, '21'); $count101 = substr_count($column, '101'); if ( $count0 < 1 ) continue; if ( $count1 < 5 ) continue; if ( $count2 < 5 ) continue; if ( $count12 < 2 ) continue; if ( $count21 < 2 ) continue; if ( $count101 < 1 ) continue; $count++; } echo $count; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 145
Branch analysis from position: 145
2 jumps found. (Code = 44) Position 1 = 147, Position 2 = 6
Branch analysis from position: 147
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 142
Branch analysis from position: 142
2 jumps found. (Code = 44) Position 1 = 144, Position 2 = 8
Branch analysis from position: 144
2 jumps found. (Code = 44) Position 1 = 147, Position 2 = 6
Branch analysis from position: 147
Branch analysis from position: 6
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 139
Branch analysis from position: 139
2 jumps found. (Code = 44) Position 1 = 141, Position 2 = 10
Branch analysis from position: 141
2 jumps found. (Code = 44) Position 1 = 144, Position 2 = 8
Branch analysis from position: 144
Branch analysis from position: 8
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 136
Branch analysis from position: 136
2 jumps found. (Code = 44) Position 1 = 138, Position 2 = 12
Branch analysis from position: 138
2 jumps found. (Code = 44) Position 1 = 141, Position 2 = 10
Branch analysis from position: 141
Branch analysis from position: 10
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 133
Branch analysis from position: 133
2 jumps found. (Code = 44) Position 1 = 135, Position 2 = 14
Branch analysis from position: 135
2 jumps found. (Code = 44) Position 1 = 138, Position 2 = 12
Branch analysis from position: 138
Branch analysis from position: 12
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 130
Branch analysis from position: 130
2 jumps found. (Code = 44) Position 1 = 132, Position 2 = 16
Branch analysis from position: 132
2 jumps found. (Code = 44) Position 1 = 135, Position 2 = 14
Branch analysis from position: 135
Branch analysis from position: 14
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 127
Branch analysis from position: 127
2 jumps found. (Code = 44) Position 1 = 129, Position 2 = 18
Branch analysis from position: 129
2 jumps found. (Code = 44) Position 1 = 132, Position 2 = 16
Branch analysis from position: 132
Branch analysis from position: 16
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 124
Branch analysis from position: 124
2 jumps found. (Code = 44) Position 1 = 126, Position 2 = 20
Branch analysis from position: 126
2 jumps found. (Code = 44) Position 1 = 129, Position 2 = 18
Branch analysis from position: 129
Branch analysis from position: 18
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 121
Branch analysis from position: 121
2 jumps found. (Code = 44) Position 1 = 123, Position 2 = 22
Branch analysis from position: 123
2 jumps found. (Code = 44) Position 1 = 126, Position 2 = 20
Branch analysis from position: 126
Branch analysis from position: 20
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 118
Branch analysis from position: 118
2 jumps found. (Code = 44) Position 1 = 120, Position 2 = 24
Branch analysis from position: 120
2 jumps found. (Code = 44) Position 1 = 123, Position 2 = 22
Branch analysis from position: 123
Branch analysis from position: 22
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 115
Branch analysis from position: 115
2 jumps found. (Code = 44) Position 1 = 117, Position 2 = 26
Branch analysis from position: 117
2 jumps found. (Code = 44) Position 1 = 120, Position 2 = 24
Branch analysis from position: 120
Branch analysis from position: 24
Branch analysis from position: 26
1 jumps found. (Code = 42) Position 1 = 112
Branch analysis from position: 112
2 jumps found. (Code = 44) Position 1 = 114, Position 2 = 28
Branch analysis from position: 114
2 jumps found. (Code = 44) Position 1 = 117, Position 2 = 26
Branch analysis from position: 117
Branch analysis from position: 26
Branch analysis from position: 28
1 jumps found. (Code = 42) Position 1 = 109
Branch analysis from position: 109
2 jumps found. (Code = 44) Position 1 = 111, Position 2 = 30
Branch analysis from position: 111
2 jumps found. (Code = 44) Position 1 = 114, Position 2 = 28
Branch analysis from position: 114
Branch analysis from position: 28
Branch analysis from position: 30
1 jumps found. (Code = 42) Position 1 = 106
Branch analysis from position: 106
2 jumps found. (Code = 44) Position 1 = 108, Position 2 = 32
Branch analysis from position: 108
2 jumps found. (Code = 44) Position 1 = 111, Position 2 = 30
Branch analysis from position: 111
Branch analysis from position: 30
Branch analysis from position: 32
1 jumps found. (Code = 42) Position 1 = 103
Branch analysis from position: 103
2 jumps found. (Code = 44) Position 1 = 105, Position 2 = 34
Branch analysis from position: 105
2 jumps found. (Code = 44) Position 1 = 108, Position 2 = 32
Branch analysis from position: 108
Branch analysis from position: 32
Branch analysis from position: 34
2 jumps found. (Code = 43) Position 1 = 85, Position 2 = 86
Branch analysis from position: 85
1 jumps found. (Code = 42) Position 1 = 102
Branch analysis from position: 102
2 jumps found. (Code = 44) Position 1 = 105, Position 2 = 34
Branch analysis from position: 105
Branch analysis from position: 34
Branch analysis from position: 86
2 jumps found. (Code = 43) Position 1 = 88, Position 2 = 89
Branch analysis from position: 88
1 jumps found. (Code = 42) Position 1 = 102
Branch analysis from position: 102
Branch analysis from position: 89
2 jumps found. (Code = 43) Position 1 = 91, Position 2 = 92
Branch analysis from position: 91
1 jumps found. (Code = 42) Position 1 = 102
Branch analysis from position: 102
Branch analysis from position: 92
2 jumps found. (Code = 43) Position 1 = 94, Position 2 = 95
Branch analysis from position: 94
1 jumps found. (Code = 42) Position 1 = 102
Branch analysis from position: 102
Branch analysis from position: 95
2 jumps found. (Code = 43) Position 1 = 97, Position 2 = 98
Branch analysis from position: 97
1 jumps found. (Code = 42) Position 1 = 102
Branch analysis from position: 102
Branch analysis from position: 98
2 jumps found. (Code = 43) Position 1 = 100, Position 2 = 101
Branch analysis from position: 100
1 jumps found. (Code = 42) Position 1 = 102
Branch analysis from position: 102
Branch analysis from position: 101
2 jumps found. (Code = 44) Position 1 = 105, Position 2 = 34
Branch analysis from position: 105
Branch analysis from position: 34
filename:       /in/pqlKX
function name:  (null)
number of ops:  149
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 = $count0, !18 = $count1, !19 = $count2, !20 = $count12, !21 = $count21, !22 = $count101
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                                                      ->145
    7     6    >   ASSIGN                                                   !2, 0
          7      > JMP                                                      ->142
    8     8    >   ASSIGN                                                   !3, 0
          9      > JMP                                                      ->139
    9    10    >   ASSIGN                                                   !4, 0
         11      > JMP                                                      ->136
   10    12    >   ASSIGN                                                   !5, 0
         13      > JMP                                                      ->133
   11    14    >   ASSIGN                                                   !6, 0
         15      > JMP                                                      ->130
   12    16    >   ASSIGN                                                   !7, 0
         17      > JMP                                                      ->127
   13    18    >   ASSIGN                                                   !8, 0
         19      > JMP                                                      ->124
   14    20    >   ASSIGN                                                   !9, 0
         21      > JMP                                                      ->121
   15    22    >   ASSIGN                                                   !10, 0
         23      > JMP                                                      ->118
   16    24    >   ASSIGN                                                   !11, 0
         25      > JMP                                                      ->115
   17    26    >   ASSIGN                                                   !12, 0
         27      > JMP                                                      ->112
   18    28    >   ASSIGN                                                   !13, 0
         29      > JMP                                                      ->109
   19    30    >   ASSIGN                                                   !14, 0
         31      > JMP                                                      ->106
   20    32    >   ASSIGN                                                   !15, 0
         33      > JMP                                                      ->103
   22    34    >   INIT_FCALL                                               'join'
         35        INIT_ARRAY                                       ~40     !1
         36        ADD_ARRAY_ELEMENT                                ~40     !2
         37        ADD_ARRAY_ELEMENT                                ~40     !3
         38        ADD_ARRAY_ELEMENT                                ~40     !4
         39        ADD_ARRAY_ELEMENT                                ~40     !5
         40        ADD_ARRAY_ELEMENT                                ~40     !6
         41        ADD_ARRAY_ELEMENT                                ~40     !7
         42        ADD_ARRAY_ELEMENT                                ~40     !8
         43        ADD_ARRAY_ELEMENT                                ~40     !9
         44        ADD_ARRAY_ELEMENT                                ~40     !10
         45        ADD_ARRAY_ELEMENT                                ~40     !11
         46        ADD_ARRAY_ELEMENT                                ~40     !12
         47        ADD_ARRAY_ELEMENT                                ~40     !13
         48        ADD_ARRAY_ELEMENT                                ~40     !14
         49        ADD_ARRAY_ELEMENT                                ~40     !15
         50        SEND_VAL                                                 ~40
         51        DO_ICALL                                         $41     
         52        ASSIGN                                                   !16, $41
   24    53        INIT_FCALL                                               'substr_count'
         54        SEND_VAR                                                 !16
         55        SEND_VAL                                                 '0'
         56        DO_ICALL                                         $43     
         57        ASSIGN                                                   !17, $43
   25    58        INIT_FCALL                                               'substr_count'
         59        SEND_VAR                                                 !16
         60        SEND_VAL                                                 '1'
         61        DO_ICALL                                         $45     
         62        ASSIGN                                                   !18, $45
   26    63        INIT_FCALL                                               'substr_count'
         64        SEND_VAR                                                 !16
         65        SEND_VAL                                                 '2'
         66        DO_ICALL                                         $47     
         67        ASSIGN                                                   !19, $47
   27    68        INIT_FCALL                                               'substr_count'
         69        SEND_VAR                                                 !16
         70        SEND_VAL                                                 '12'
         71        DO_ICALL                                         $49     
         72        ASSIGN                                                   !20, $49
   28    73        INIT_FCALL                                               'substr_count'
         74        SEND_VAR                                                 !16
         75        SEND_VAL                                                 '21'
         76        DO_ICALL                                         $51     
         77        ASSIGN                                                   !21, $51
   29    78        INIT_FCALL                                               'substr_count'
         79        SEND_VAR                                                 !16
         80        SEND_VAL                                                 '101'
         81        DO_ICALL                                         $53     
         82        ASSIGN                                                   !22, $53
   31    83        IS_SMALLER                                               !17, 1
         84      > JMPZ                                                     ~55, ->86
         85    > > JMP                                                      ->102
   32    86    >   IS_SMALLER                                               !18, 5
         87      > JMPZ                                                     ~56, ->89
         88    > > JMP                                                      ->102
   33    89    >   IS_SMALLER                                               !19, 5
         90      > JMPZ                                                     ~57, ->92
         91    > > JMP                                                      ->102
   34    92    >   IS_SMALLER                                               !20, 2
         93      > JMPZ                                                     ~58, ->95
         94    > > JMP                                                      ->102
   35    95    >   IS_SMALLER                                               !21, 2
         96      > JMPZ                                                     ~59, ->98
         97    > > JMP                                                      ->102
   36    98    >   IS_SMALLER                                               !22, 1
         99      > JMPZ                                                     ~60, ->101
        100    > > JMP                                                      ->102
   38   101    >   PRE_INC                                                  !0
   20   102    >   PRE_INC                                                  !15
        103    >   IS_SMALLER                                               !15, 3
        104      > JMPNZ                                                    ~63, ->34
   19   105    >   PRE_INC                                                  !14
        106    >   IS_SMALLER                                               !14, 3
        107      > JMPNZ                                                    ~65, ->32
   18   108    >   PRE_INC                                                  !13
        109    >   IS_SMALLER                                               !13, 3
        110      > JMPNZ                                                    ~67, ->30
   17   111    >   PRE_INC                                                  !12
        112    >   IS_SMALLER                                               !12, 3
        113      > JMPNZ                                                    ~69, ->28
   16   114    >   PRE_INC                                                  !11
        115    >   IS_SMALLER                                               !11, 3
        116      > JMPNZ                                                    ~71, ->26
   15   117    >   PRE_INC                                                  !10
        118    >   IS_SMALLER                                               !10, 3
        119      > JMPNZ                                                    ~73, ->24
   14   120    >   PRE_INC                                                  !9
        121    >   IS_SMALLER                                               !9, 3
        122      > JMPNZ                                                    ~75, ->22
   13   123    >   PRE_INC                                                  !8
        124    >   IS_SMALLER                                               !8, 3
        125      > JMPNZ                                                    ~77, ->20
   12   126    >   PRE_INC                                                  !7
        127    >   IS_SMALLER                                               !7, 3
        128      > JMPNZ                                                    ~79, ->18
   11   129    >   PRE_INC                                                  !6
        130    >   IS_SMALLER                                               !6, 3
        131      > JMPNZ                                                    ~81, ->16
   10   132    >   PRE_INC                                                  !5
        133    >   IS_SMALLER                                               !5, 3
        134      > JMPNZ                                                    ~83, ->14
    9   135    >   PRE_INC                                                  !4
        136    >   IS_SMALLER                                               !4, 3
        137      > JMPNZ                                                    ~85, ->12
    8   138    >   PRE_INC                                                  !3
        139    >   IS_SMALLER                                               !3, 3
        140      > JMPNZ                                                    ~87, ->10
    7   141    >   PRE_INC                                                  !2
        142    >   IS_SMALLER                                               !2, 3
        143      > JMPNZ                                                    ~89, ->8
    6   144    >   PRE_INC                                                  !1
        145    >   IS_SMALLER                                               !1, 3
        146      > JMPNZ                                                    ~91, ->6
   42   147    >   ECHO                                                     !0
   44   148      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.93 ms | 1416 KiB | 19 Q