3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* * Fill in unhashed & hashed seeds below and click blue 'eval();' button below textarea. * * ------------------ */ $hashedSeed = 'c6e6d89644955822ed2c2c709ced830f17f49e5b1c29b79c76a2343a2d4a01c6c6e6d89644955822ed2c2c709ced830f17f49e5b1c29b79c76a2343a2d4a01c6'; $unhashedSeed = 'c6e6d89644955822ed2c2c709ced830f17f49e5b1c29b79c76a2343a2d4a01c6c6e6d89644955822ed2c2c709ced830f17f49e5b1c29b79c76a2343a2d4a01c'; $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/r3eJf
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, 'c6e6d89644955822ed2c2c709ced830f17f49e5b1c29b79c76a2343a2d4a01c6c6e6d89644955822ed2c2c709ced830f17f49e5b1c29b79c76a2343a2d4a01c6'
    9     1        ASSIGN                                                   !1, 'c6e6d89644955822ed2c2c709ced830f17f49e5b1c29b79c76a2343a2d4a01c6c6e6d89644955822ed2c2c709ced830f17f49e5b1c29b79c76a2343a2d4a01c'
   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.0.0


preferences:
138.9 ms | 1436 KiB | 14 Q