3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = random_bytes(16); $i = 1000; var_dump(hash_equals( hash_pbkdf2('sha224', 'Tihanyi_collision_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaae6vit9wh', $s, $i), hash_pbkdf2('sha224', ')P.!{(]??/lQrfzs4QTQt#6qQe+8', $s, $i) ));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kuAPb
function name:  (null)
number of ops:  25
compiled vars:  !0 = $s, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'random_bytes'
          1        SEND_VAL                                                 16
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    3     4        ASSIGN                                                   !1, 1000
    4     5        INIT_FCALL                                               'var_dump'
          6        INIT_FCALL                                               'hash_equals'
    5     7        INIT_FCALL                                               'hash_pbkdf2'
          8        SEND_VAL                                                 'sha224'
          9        SEND_VAL                                                 'Tihanyi_collision_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaae6vit9wh'
         10        SEND_VAR                                                 !0
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $5      
         13        SEND_VAR                                                 $5
    6    14        INIT_FCALL                                               'hash_pbkdf2'
         15        SEND_VAL                                                 'sha224'
         16        SEND_VAL                                                 '%29P.%21%7B%28%5D%3F%3F%2FlQrfzs4QTQt%236qQe%2B8'
         17        SEND_VAR                                                 !0
         18        SEND_VAR                                                 !1
         19        DO_ICALL                                         $6      
         20        SEND_VAR                                                 $6
    4    21        DO_ICALL                                         $7      
    6    22        SEND_VAR                                                 $7
    4    23        DO_ICALL                                                 
    7    24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.07 ms | 1456 KiB | 17 Q