3v4l.org

run code in 300+ PHP versions simultaneously
<?php $count = 0; for ( $match1 = 1; $match1 < 3; $match1++ ) for ( $match2 = 1; $match2 < 3; $match2++ ) for ( $match3 = 1; $match3 < 3; $match3++ ) for ( $match4 = 1; $match4 < 3; $match4++ ) for ( $match5 = 1; $match5 < 3; $match5++ ) for ( $match6 = 1; $match6 < 3; $match6++ ) for ( $match7 = 1; $match7 < 3; $match7++ ) for ( $match8 = 1; $match8 < 3; $match8++ ) for ( $match9 = 1; $match9 < 3; $match9++ ) for ( $match10 = 1; $match10 < 3; $match10++ ) for ( $match11 = 1; $match11 < 3; $match11++ ) for ( $match12 = 1; $match12 < 3; $match12++ ) for ( $match13 = 1; $match13 < 3; $match13++ ) for ( $match14 = 1; $match14 < 3; $match14++ ) for ( $match15 = 1; $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'); // $count20 = substr_count($column, '20'); // $count01 = substr_count($column, '01'); // $count10 = substr_count($column, '10'); $count12 = substr_count($column, '12'); $count21 = substr_count($column, '21'); // $count101 = substr_count($column, '101'); $count112 = substr_count($column, '112'); $count211 = substr_count($column, '211'); // preg_match_all('/[0]+/', $column, $matches); // $max0 = $matches[0] ? strlen(max($matches[0])) : 0; preg_match_all('/[1]+/', $column, $matches); $max1 = $matches[0] ? strlen(max($matches[0])) : 0; preg_match_all('/[2]+/', $column, $matches); $max2 = $matches[0] ? strlen(max($matches[0])) : 0; // en az 1 en çok 5 maç 0 biter //if ( $count0 < 1 ) continue; //if ( $count0 > 5 ) continue; // en az 4 en çok 10 maç 1 biter if ( $count1 < 4 ) continue; if ( $count1 > 10 ) continue; // en az 4 en çok 10 maç 2 biter if ( $count2 < 4 ) continue; if ( $count2 > 10 ) continue; // en az 1 kere ard arda 2 maç 2 ve 0 biter //if ( $count20 < 1 ) continue; // en az 1 kere ard arda 2 maç 0 ve 1 biter //if ( $count01 < 1 ) continue; // en az 1 kere ard arda 2 maç 1 ve 0 biter //if ( $count10 < 1 ) continue; // en az 1 kere ard arda 2 maç 1 ve 2 biter if ( $count12 < 1 ) continue; // en az 1 kere ard arda 2 maç 2 ve 1 biter if ( $count21 < 1 ) continue; // en az 1 kere ard arda 3 maç 1, 0 ve 1 biter //if ( $count101 < 1 ) continue; // en az 1 kere ard arda 3 maç 1, 1 ve 2 biter if ( $count112 < 1 ) continue; // en az 1 kere ard arda 3 maç 2, 1 ve 1 biter if ( $count211 < 1 ) continue; // ard arda en az 2 en çok 3 maç 0 biter //if ( $max0 < 2 ) continue; //if ( $max0 > 3 ) continue; // ard arda en az 2 en çok 6 maç 1 biter if ( $max1 < 2 ) continue; if ( $max1 > 6 ) continue; // ard arda en az 2 en çok 6 maç 2 biter if ( $max2 < 2 ) continue; if ( $max2 > 6 ) continue; $count++; } echo $count * 0.25; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 192
Branch analysis from position: 192
2 jumps found. (Code = 44) Position 1 = 194, Position 2 = 3
Branch analysis from position: 194
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 189
Branch analysis from position: 189
2 jumps found. (Code = 44) Position 1 = 191, Position 2 = 5
Branch analysis from position: 191
2 jumps found. (Code = 44) Position 1 = 194, Position 2 = 3
Branch analysis from position: 194
Branch analysis from position: 3
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 186
Branch analysis from position: 186
2 jumps found. (Code = 44) Position 1 = 188, Position 2 = 7
Branch analysis from position: 188
2 jumps found. (Code = 44) Position 1 = 191, Position 2 = 5
Branch analysis from position: 191
Branch analysis from position: 5
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 183
Branch analysis from position: 183
2 jumps found. (Code = 44) Position 1 = 185, Position 2 = 9
Branch analysis from position: 185
2 jumps found. (Code = 44) Position 1 = 188, Position 2 = 7
Branch analysis from position: 188
Branch analysis from position: 7
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 180
Branch analysis from position: 180
2 jumps found. (Code = 44) Position 1 = 182, Position 2 = 11
Branch analysis from position: 182
2 jumps found. (Code = 44) Position 1 = 185, Position 2 = 9
Branch analysis from position: 185
Branch analysis from position: 9
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 177
Branch analysis from position: 177
2 jumps found. (Code = 44) Position 1 = 179, Position 2 = 13
Branch analysis from position: 179
2 jumps found. (Code = 44) Position 1 = 182, Position 2 = 11
Branch analysis from position: 182
Branch analysis from position: 11
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 174
Branch analysis from position: 174
2 jumps found. (Code = 44) Position 1 = 176, Position 2 = 15
Branch analysis from position: 176
2 jumps found. (Code = 44) Position 1 = 179, Position 2 = 13
Branch analysis from position: 179
Branch analysis from position: 13
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 171
Branch analysis from position: 171
2 jumps found. (Code = 44) Position 1 = 173, Position 2 = 17
Branch analysis from position: 173
2 jumps found. (Code = 44) Position 1 = 176, Position 2 = 15
Branch analysis from position: 176
Branch analysis from position: 15
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 168
Branch analysis from position: 168
2 jumps found. (Code = 44) Position 1 = 170, Position 2 = 19
Branch analysis from position: 170
2 jumps found. (Code = 44) Position 1 = 173, Position 2 = 17
Branch analysis from position: 173
Branch analysis from position: 17
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 165
Branch analysis from position: 165
2 jumps found. (Code = 44) Position 1 = 167, Position 2 = 21
Branch analysis from position: 167
2 jumps found. (Code = 44) Position 1 = 170, Position 2 = 19
Branch analysis from position: 170
Branch analysis from position: 19
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 162
Branch analysis from position: 162
2 jumps found. (Code = 44) Position 1 = 164, Position 2 = 23
Branch analysis from position: 164
2 jumps found. (Code = 44) Position 1 = 167, Position 2 = 21
Branch analysis from position: 167
Branch analysis from position: 21
Branch analysis from position: 23
1 jumps found. (Code = 42) Position 1 = 159
Branch analysis from position: 159
2 jumps found. (Code = 44) Position 1 = 161, Position 2 = 25
Branch analysis from position: 161
2 jumps found. (Code = 44) Position 1 = 164, Position 2 = 23
Branch analysis from position: 164
Branch analysis from position: 23
Branch analysis from position: 25
1 jumps found. (Code = 42) Position 1 = 156
Branch analysis from position: 156
2 jumps found. (Code = 44) Position 1 = 158, Position 2 = 27
Branch analysis from position: 158
2 jumps found. (Code = 44) Position 1 = 161, Position 2 = 25
Branch analysis from position: 161
Branch analysis from position: 25
Branch analysis from position: 27
1 jumps found. (Code = 42) Position 1 = 153
Branch analysis from position: 153
2 jumps found. (Code = 44) Position 1 = 155, Position 2 = 29
Branch analysis from position: 155
2 jumps found. (Code = 44) Position 1 = 158, Position 2 = 27
Branch analysis from position: 158
Branch analysis from position: 27
Branch analysis from position: 29
1 jumps found. (Code = 42) Position 1 = 150
Branch analysis from position: 150
2 jumps found. (Code = 44) Position 1 = 152, Position 2 = 31
Branch analysis from position: 152
2 jumps found. (Code = 44) Position 1 = 155, Position 2 = 29
Branch analysis from position: 155
Branch analysis from position: 29
Branch analysis from position: 31
2 jumps found. (Code = 43) Position 1 = 87, Position 2 = 94
Branch analysis from position: 87
1 jumps found. (Code = 42) Position 1 = 95
Branch analysis from position: 95
2 jumps found. (Code = 43) Position 1 = 103, Position 2 = 110
Branch analysis from position: 103
1 jumps found. (Code = 42) Position 1 = 111
Branch analysis from position: 111
2 jumps found. (Code = 43) Position 1 = 114, Position 2 = 115
Branch analysis from position: 114
1 jumps found. (Code = 42) Position 1 = 149
Branch analysis from position: 149
2 jumps found. (Code = 44) Position 1 = 152, Position 2 = 31
Branch analysis from position: 152
Branch analysis from position: 31
Branch analysis from position: 115
2 jumps found. (Code = 43) Position 1 = 117, Position 2 = 118
Branch analysis from position: 117
1 jumps found. (Code = 42) Position 1 = 149
Branch analysis from position: 149
Branch analysis from position: 118
2 jumps found. (Code = 43) Position 1 = 120, Position 2 = 121
Branch analysis from position: 120
1 jumps found. (Code = 42) Position 1 = 149
Branch analysis from position: 149
Branch analysis from position: 121
2 jumps found. (Code = 43) Position 1 = 123, Position 2 = 124
Branch analysis from position: 123
1 jumps found. (Code = 42) Position 1 = 149
Branch analysis from position: 149
Branch analysis from position: 124
2 jumps found. (Code = 43) Position 1 = 126, Position 2 = 127
Branch analysis from position: 126
1 jumps found. (Code = 42) Position 1 = 149
Branch analysis from position: 149
Branch analysis from position: 127
2 jumps found. (Code = 43) Position 1 = 129, Position 2 = 130
Branch analysis from position: 129
1 jumps found. (Code = 42) Position 1 = 149
Branch analysis from position: 149
Branch analysis from position: 130
2 jumps found. (Code = 43) Position 1 = 132, Position 2 = 133
Branch analysis from position: 132
1 jumps found. (Code = 42) Position 1 = 149
Branch analysis from position: 149
Branch analysis from position: 133
2 jumps found. (Code = 43) Position 1 = 135, Position 2 = 136
Branch analysis from position: 135
1 jumps found. (Code = 42) Position 1 = 149
Branch analysis from position: 149
Branch analysis from position: 136
2 jumps found. (Code = 43) Position 1 = 138, Position 2 = 139
Branch analysis from position: 138
1 jumps found. (Code = 42) Position 1 = 149
Branch analysis from position: 149
Branch analysis from position: 139
2 jumps found. (Code = 43) Position 1 = 141, Position 2 = 142
Branch analysis from position: 141
1 jumps found. (Code = 42) Position 1 = 149
Branch analysis from position: 149
Branch analysis from position: 142
2 jumps found. (Code = 43) Position 1 = 144, Position 2 = 145
Branch analysis from position: 144
1 jumps found. (Code = 42) Position 1 = 149
Branch analysis from position: 149
Branch analysis from position: 145
2 jumps found. (Code = 43) Position 1 = 147, Position 2 = 148
Branch analysis from position: 147
1 jumps found. (Code = 42) Position 1 = 149
Branch analysis from position: 149
Branch analysis from position: 148
2 jumps found. (Code = 44) Position 1 = 152, Position 2 = 31
Branch analysis from position: 152
Branch analysis from position: 31
Branch analysis from position: 110
2 jumps found. (Code = 43) Position 1 = 114, Position 2 = 115
Branch analysis from position: 114
Branch analysis from position: 115
Branch analysis from position: 94
2 jumps found. (Code = 43) Position 1 = 103, Position 2 = 110
Branch analysis from position: 103
Branch analysis from position: 110
filename:       /in/fDVke
function name:  (null)
number of ops:  197
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 = $count1, !18 = $count2, !19 = $count12, !20 = $count21, !21 = $count112, !22 = $count211, !23 = $matches, !24 = $max1, !25 = $max2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 0
    7     1        ASSIGN                                                   !1, 1
          2      > JMP                                                      ->192
    8     3    >   ASSIGN                                                   !2, 1
          4      > JMP                                                      ->189
    9     5    >   ASSIGN                                                   !3, 1
          6      > JMP                                                      ->186
   10     7    >   ASSIGN                                                   !4, 1
          8      > JMP                                                      ->183
   11     9    >   ASSIGN                                                   !5, 1
         10      > JMP                                                      ->180
   12    11    >   ASSIGN                                                   !6, 1
         12      > JMP                                                      ->177
   13    13    >   ASSIGN                                                   !7, 1
         14      > JMP                                                      ->174
   14    15    >   ASSIGN                                                   !8, 1
         16      > JMP                                                      ->171
   15    17    >   ASSIGN                                                   !9, 1
         18      > JMP                                                      ->168
   16    19    >   ASSIGN                                                   !10, 1
         20      > JMP                                                      ->165
   17    21    >   ASSIGN                                                   !11, 1
         22      > JMP                                                      ->162
   18    23    >   ASSIGN                                                   !12, 1
         24      > JMP                                                      ->159
   19    25    >   ASSIGN                                                   !13, 1
         26      > JMP                                                      ->156
   20    27    >   ASSIGN                                                   !14, 1
         28      > JMP                                                      ->153
   21    29    >   ASSIGN                                                   !15, 1
         30      > JMP                                                      ->150
   23    31    >   INIT_FCALL                                               'join'
         32        INIT_ARRAY                                       ~42     !1
         33        ADD_ARRAY_ELEMENT                                ~42     !2
         34        ADD_ARRAY_ELEMENT                                ~42     !3
         35        ADD_ARRAY_ELEMENT                                ~42     !4
         36        ADD_ARRAY_ELEMENT                                ~42     !5
         37        ADD_ARRAY_ELEMENT                                ~42     !6
         38        ADD_ARRAY_ELEMENT                                ~42     !7
         39        ADD_ARRAY_ELEMENT                                ~42     !8
         40        ADD_ARRAY_ELEMENT                                ~42     !9
         41        ADD_ARRAY_ELEMENT                                ~42     !10
         42        ADD_ARRAY_ELEMENT                                ~42     !11
         43        ADD_ARRAY_ELEMENT                                ~42     !12
         44        ADD_ARRAY_ELEMENT                                ~42     !13
         45        ADD_ARRAY_ELEMENT                                ~42     !14
         46        ADD_ARRAY_ELEMENT                                ~42     !15
         47        SEND_VAL                                                 ~42
         48        DO_ICALL                                         $43     
         49        ASSIGN                                                   !16, $43
   26    50        INIT_FCALL                                               'substr_count'
         51        SEND_VAR                                                 !16
         52        SEND_VAL                                                 '1'
         53        DO_ICALL                                         $45     
         54        ASSIGN                                                   !17, $45
   27    55        INIT_FCALL                                               'substr_count'
         56        SEND_VAR                                                 !16
         57        SEND_VAL                                                 '2'
         58        DO_ICALL                                         $47     
         59        ASSIGN                                                   !18, $47
   31    60        INIT_FCALL                                               'substr_count'
         61        SEND_VAR                                                 !16
         62        SEND_VAL                                                 '12'
         63        DO_ICALL                                         $49     
         64        ASSIGN                                                   !19, $49
   32    65        INIT_FCALL                                               'substr_count'
         66        SEND_VAR                                                 !16
         67        SEND_VAL                                                 '21'
         68        DO_ICALL                                         $51     
         69        ASSIGN                                                   !20, $51
   34    70        INIT_FCALL                                               'substr_count'
         71        SEND_VAR                                                 !16
         72        SEND_VAL                                                 '112'
         73        DO_ICALL                                         $53     
         74        ASSIGN                                                   !21, $53
   35    75        INIT_FCALL                                               'substr_count'
         76        SEND_VAR                                                 !16
         77        SEND_VAL                                                 '211'
         78        DO_ICALL                                         $55     
         79        ASSIGN                                                   !22, $55
   41    80        INIT_FCALL                                               'preg_match_all'
         81        SEND_VAL                                                 '%2F%5B1%5D%2B%2F'
         82        SEND_VAR                                                 !16
         83        SEND_REF                                                 !23
         84        DO_ICALL                                                 
   43    85        FETCH_DIM_R                                      ~58     !23, 0
         86      > JMPZ                                                     ~58, ->94
         87    >   INIT_FCALL                                               'max'
         88        FETCH_DIM_R                                      ~59     !23, 0
         89        SEND_VAL                                                 ~59
         90        DO_ICALL                                         $60     
         91        STRLEN                                           ~61     $60
         92        QM_ASSIGN                                        ~62     ~61
         93      > JMP                                                      ->95
         94    >   QM_ASSIGN                                        ~62     0
         95    >   ASSIGN                                                   !24, ~62
   45    96        INIT_FCALL                                               'preg_match_all'
         97        SEND_VAL                                                 '%2F%5B2%5D%2B%2F'
         98        SEND_VAR                                                 !16
         99        SEND_REF                                                 !23
        100        DO_ICALL                                                 
   47   101        FETCH_DIM_R                                      ~65     !23, 0
        102      > JMPZ                                                     ~65, ->110
        103    >   INIT_FCALL                                               'max'
        104        FETCH_DIM_R                                      ~66     !23, 0
        105        SEND_VAL                                                 ~66
        106        DO_ICALL                                         $67     
        107        STRLEN                                           ~68     $67
        108        QM_ASSIGN                                        ~69     ~68
        109      > JMP                                                      ->111
        110    >   QM_ASSIGN                                        ~69     0
        111    >   ASSIGN                                                   !25, ~69
   58   112        IS_SMALLER                                               !17, 4
        113      > JMPZ                                                     ~71, ->115
        114    > > JMP                                                      ->149
   59   115    >   IS_SMALLER                                               10, !17
        116      > JMPZ                                                     ~72, ->118
        117    > > JMP                                                      ->149
   62   118    >   IS_SMALLER                                               !18, 4
        119      > JMPZ                                                     ~73, ->121
        120    > > JMP                                                      ->149
   63   121    >   IS_SMALLER                                               10, !18
        122      > JMPZ                                                     ~74, ->124
        123    > > JMP                                                      ->149
   78   124    >   IS_SMALLER                                               !19, 1
        125      > JMPZ                                                     ~75, ->127
        126    > > JMP                                                      ->149
   81   127    >   IS_SMALLER                                               !20, 1
        128      > JMPZ                                                     ~76, ->130
        129    > > JMP                                                      ->149
   87   130    >   IS_SMALLER                                               !21, 1
        131      > JMPZ                                                     ~77, ->133
        132    > > JMP                                                      ->149
   90   133    >   IS_SMALLER                                               !22, 1
        134      > JMPZ                                                     ~78, ->136
        135    > > JMP                                                      ->149
  100   136    >   IS_SMALLER                                               !24, 2
        137      > JMPZ                                                     ~79, ->139
        138    > > JMP                                                      ->149
  101   139    >   IS_SMALLER                                               6, !24
        140      > JMPZ                                                     ~80, ->142
        141    > > JMP                                                      ->149
  104   142    >   IS_SMALLER                                               !25, 2
        143      > JMPZ                                                     ~81, ->145
        144    > > JMP                                                      ->149
  105   145    >   IS_SMALLER                                               6, !25
        146      > JMPZ                                                     ~82, ->148
        147    > > JMP                                                      ->149
  107   148    >   PRE_INC                                                  !0
   21   149    >   PRE_INC                                                  !15
        150    >   IS_SMALLER                                               !15, 3
        151      > JMPNZ                                                    ~85, ->31
   20   152    >   PRE_INC                                                  !14
        153    >   IS_SMALLER                                               !14, 3
        154      > JMPNZ                                                    ~87, ->29
   19   155    >   PRE_INC                                                  !13
        156    >   IS_SMALLER                                               !13, 3
        157      > JMPNZ                                                    ~89, ->27
   18   158    >   PRE_INC                                                  !12
        159    >   IS_SMALLER                                               !12, 3
        160      > JMPNZ                                                    ~91, ->25
   17   161    >   PRE_INC                                                  !11
        162    >   IS_SMALLER                                               !11, 3
        163      > JMPNZ                                                    ~93, ->23
   16   164    >   PRE_INC                                                  !10
        165    >   IS_SMALLER                                               !10, 3
        166      > JMPNZ                                                    ~95, ->21
   15   167    >   PRE_INC                                                  !9
        168    >   IS_SMALLER                                               !9, 3
        169      > JMPNZ                                                    ~97, ->19
   14   170    >   PRE_INC                                                  !8
        171    >   IS_SMALLER                                               !8, 3
        172      > JMPNZ                                                    ~99, ->17
   13   173    >   PRE_INC                                                  !7
        174    >   IS_SMALLER                                               !7, 3
        175      > JMPNZ                                                    ~101, ->15
   12   176    >   PRE_INC                                                  !6
        177    >   IS_SMALLER                                               !6, 3
        178      > JMPNZ                                                    ~103, ->13
   11   179    >   PRE_INC                                                  !5
        180    >   IS_SMALLER                                               !5, 3
        181      > JMPNZ                                                    ~105, ->11
   10   182    >   PRE_INC                                                  !4
        183    >   IS_SMALLER                                               !4, 3
        184      > JMPNZ                                                    ~107, ->9
    9   185    >   PRE_INC                                                  !3
        186    >   IS_SMALLER                                               !3, 3
        187      > JMPNZ                                                    ~109, ->7
    8   188    >   PRE_INC                                                  !2
        189    >   IS_SMALLER                                               !2, 3
        190      > JMPNZ                                                    ~111, ->5
    7   191    >   PRE_INC                                                  !1
        192    >   IS_SMALLER                                               !1, 3
        193      > JMPNZ                                                    ~113, ->3
  111   194    >   MUL                                              ~114    !0, 0.25
        195        ECHO                                                     ~114
  112   196      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.25 ms | 1424 KiB | 21 Q