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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
186.46 ms | 1408 KiB | 17 Q