3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mang1 = array ("c47a64ecf89f1b1a42000b2935ac6b21", "c87cc240e96965d6b4a082276706d086","df344e84663ef8ed7f3f543f7163adbb","a1d8259cc22526a41cb08a4912d14fa5"); for ($i1=0 ; $i1 < count ($mang1); $i1++){ for ($i2=0 ; $i2< count($mang1); $i2++){ for ( $i3=0 ; $i3< count ($mang1) ; $i3++){ for ( $i4=0 ; $i4< count ($mang1); $i4++){ $serverSeed = $mang1[$i1].$mang1[$i2].$mang1[$i3].$mang1[$i4]; $clientSeed = 'c034ccb72c85110ae15de61e89b43cf84a5e4113'; $nonce = 10; for($nonce =1; $nonce < 10; $nonce++){ $seed = $serverSeed.'-'.$clientSeed.'-'.$nonce; do { $seed = sha1($seed); $lucky = hexdec(substr($seed,0,8)); } while ($lucky > 4294960000); $luckyNumber = ($lucky % 10000) / 100; if ($luckyNumber < 0) $luckyNumber = -$luckyNumber; if ($nonce == 1 and $luckyNumber == 74.87){ if ($nonce == 2 and $luckyNumber == 30.41){ echo $nonce.":".$luckyNumber; echo nl2br ("\n"); echo $serverSeed; } }}}}}}
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 82
Branch analysis from position: 82
2 jumps found. (Code = 44) Position 1 = 85, Position 2 = 3
Branch analysis from position: 85
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 78
Branch analysis from position: 78
2 jumps found. (Code = 44) Position 1 = 81, Position 2 = 5
Branch analysis from position: 81
2 jumps found. (Code = 44) Position 1 = 85, Position 2 = 3
Branch analysis from position: 85
Branch analysis from position: 3
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 74
Branch analysis from position: 74
2 jumps found. (Code = 44) Position 1 = 77, Position 2 = 7
Branch analysis from position: 77
2 jumps found. (Code = 44) Position 1 = 81, Position 2 = 5
Branch analysis from position: 81
Branch analysis from position: 5
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 70
Branch analysis from position: 70
2 jumps found. (Code = 44) Position 1 = 73, Position 2 = 9
Branch analysis from position: 73
2 jumps found. (Code = 44) Position 1 = 77, Position 2 = 7
Branch analysis from position: 77
Branch analysis from position: 7
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 67
Branch analysis from position: 67
2 jumps found. (Code = 44) Position 1 = 69, Position 2 = 21
Branch analysis from position: 69
2 jumps found. (Code = 44) Position 1 = 73, Position 2 = 9
Branch analysis from position: 73
Branch analysis from position: 9
Branch analysis from position: 21
2 jumps found. (Code = 44) Position 1 = 41, Position 2 = 26
Branch analysis from position: 41
2 jumps found. (Code = 43) Position 1 = 46, Position 2 = 48
Branch analysis from position: 46
2 jumps found. (Code = 46) Position 1 = 50, Position 2 = 52
Branch analysis from position: 50
2 jumps found. (Code = 43) Position 1 = 53, Position 2 = 66
Branch analysis from position: 53
2 jumps found. (Code = 46) Position 1 = 55, Position 2 = 57
Branch analysis from position: 55
2 jumps found. (Code = 43) Position 1 = 58, Position 2 = 66
Branch analysis from position: 58
2 jumps found. (Code = 44) Position 1 = 69, Position 2 = 21
Branch analysis from position: 69
Branch analysis from position: 21
Branch analysis from position: 66
Branch analysis from position: 57
Branch analysis from position: 66
Branch analysis from position: 52
Branch analysis from position: 48
Branch analysis from position: 26
filename:       /in/ip6o5
function name:  (null)
number of ops:  86
compiled vars:  !0 = $mang1, !1 = $i1, !2 = $i2, !3 = $i3, !4 = $i4, !5 = $serverSeed, !6 = $clientSeed, !7 = $nonce, !8 = $seed, !9 = $lucky, !10 = $luckyNumber
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->82
    5     3    >   ASSIGN                                                   !2, 0
          4      > JMP                                                      ->78
    6     5    >   ASSIGN                                                   !3, 0
          6      > JMP                                                      ->74
    7     7    >   ASSIGN                                                   !4, 0
          8      > JMP                                                      ->70
    9     9    >   FETCH_DIM_R                                      ~16     !0, !1
         10        FETCH_DIM_R                                      ~17     !0, !2
         11        CONCAT                                           ~18     ~16, ~17
         12        FETCH_DIM_R                                      ~19     !0, !3
         13        CONCAT                                           ~20     ~18, ~19
         14        FETCH_DIM_R                                      ~21     !0, !4
         15        CONCAT                                           ~22     ~20, ~21
         16        ASSIGN                                                   !5, ~22
   10    17        ASSIGN                                                   !6, 'c034ccb72c85110ae15de61e89b43cf84a5e4113'
   11    18        ASSIGN                                                   !7, 10
   13    19        ASSIGN                                                   !7, 1
         20      > JMP                                                      ->67
   14    21    >   CONCAT                                           ~27     !5, '-'
         22        CONCAT                                           ~28     ~27, !6
         23        CONCAT                                           ~29     ~28, '-'
         24        CONCAT                                           ~30     ~29, !7
         25        ASSIGN                                                   !8, ~30
   17    26    >   INIT_FCALL                                               'sha1'
         27        SEND_VAR                                                 !8
         28        DO_ICALL                                         $32     
         29        ASSIGN                                                   !8, $32
   18    30        INIT_FCALL                                               'hexdec'
         31        INIT_FCALL                                               'substr'
         32        SEND_VAR                                                 !8
         33        SEND_VAL                                                 0
         34        SEND_VAL                                                 8
         35        DO_ICALL                                         $34     
         36        SEND_VAR                                                 $34
         37        DO_ICALL                                         $35     
         38        ASSIGN                                                   !9, $35
   19    39        IS_SMALLER                                               4294960000, !9
         40      > JMPNZ                                                    ~37, ->26
   21    41    >   MOD                                              ~38     !9, 10000
         42        DIV                                              ~39     ~38, 100
         43        ASSIGN                                                   !10, ~39
   23    44        IS_SMALLER                                               !10, 0
         45      > JMPZ                                                     ~41, ->48
   24    46    >   MUL                                              ~42     !10, -1
         47        ASSIGN                                                   !10, ~42
   29    48    >   IS_EQUAL                                         ~44     !7, 1
         49      > JMPZ_EX                                          ~44     ~44, ->52
         50    >   IS_EQUAL                                         ~45     !10, 74.87
         51        BOOL                                             ~44     ~45
         52    > > JMPZ                                                     ~44, ->66
   30    53    >   IS_EQUAL                                         ~46     !7, 2
         54      > JMPZ_EX                                          ~46     ~46, ->57
         55    >   IS_EQUAL                                         ~47     !10, 30.41
         56        BOOL                                             ~46     ~47
         57    > > JMPZ                                                     ~46, ->66
   31    58    >   CONCAT                                           ~48     !7, '%3A'
         59        CONCAT                                           ~49     ~48, !10
         60        ECHO                                                     ~49
   32    61        INIT_FCALL                                               'nl2br'
         62        SEND_VAL                                                 '%0A'
         63        DO_ICALL                                         $50     
         64        ECHO                                                     $50
   33    65        ECHO                                                     !5
   13    66    >   PRE_INC                                                  !7
         67    >   IS_SMALLER                                               !7, 10
         68      > JMPNZ                                                    ~52, ->21
    7    69    >   PRE_INC                                                  !4
         70    >   COUNT                                            ~54     !0
         71        IS_SMALLER                                               !4, ~54
         72      > JMPNZ                                                    ~55, ->9
    6    73    >   PRE_INC                                                  !3
         74    >   COUNT                                            ~57     !0
         75        IS_SMALLER                                               !3, ~57
         76      > JMPNZ                                                    ~58, ->7
    5    77    >   PRE_INC                                                  !2
         78    >   COUNT                                            ~60     !0
         79        IS_SMALLER                                               !2, ~60
         80      > JMPNZ                                                    ~61, ->5
    4    81    >   PRE_INC                                                  !1
         82    >   COUNT                                            ~63     !0
         83        IS_SMALLER                                               !1, ~63
         84      > JMPNZ                                                    ~64, ->3
   36    85    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.09 ms | 1404 KiB | 21 Q