3v4l.org

run code in 500+ PHP versions simultaneously
<?php /* * Fill in unhashed & hashed seeds below and click blue 'eval();' button below textarea. * * ------------------ */ $hashedSeed = 'paste given SERVER SEED (SHA-256) here'; $unhashedSeed = 'paste given SERVER SEED here'; $hash = hash('sha256', $unhashedSeed); echo "Generated hash: $hash\n"; echo 'Does hash match? ' . ($hashedSeed == $hash ? 'Yes' : 'No') . "\n";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/liDt6
function name:  (null)
number of ops:  20
compiled vars:  !0 = $hashedSeed, !1 = $unhashedSeed, !2 = $hash
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    8     0  E >   ASSIGN                                                       !0, 'paste+given+SERVER+SEED+%28SHA-256%29+here'
    9     1        ASSIGN                                                       !1, 'paste+given+SERVER+SEED+here'
   10     2        INIT_FCALL                                                   'hash'
          3        SEND_VAL                                                     'sha256'
          4        SEND_VAR                                                     !1
          5        DO_ICALL                                             $5      
          6        ASSIGN                                                       !2, $5
   12     7        ROPE_INIT                                         3  ~8      'Generated+hash%3A+'
          8        ROPE_ADD                                          1  ~8      ~8, !2
          9        ROPE_END                                          2  ~7      ~8, '%0A'
         10        ECHO                                                         ~7
   13    11        IS_EQUAL                                                     !0, !2
         12      > JMPZ                                                         ~10, ->15
         13    >   QM_ASSIGN                                            ~11     'Yes'
         14      > JMP                                                          ->16
         15    >   QM_ASSIGN                                            ~11     'No'
         16    >   CONCAT                                               ~12     'Does+hash+match%3F+', ~11
         17        CONCAT                                               ~13     ~12, '%0A'
         18        ECHO                                                         ~13
         19      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
141.95 ms | 2013 KiB | 14 Q