3v4l.org

run code in 300+ PHP versions simultaneously
<?php $salt = '1234567890123456'; $iterations = 10; $length = 0; $hash1 = hash_pbkdf2('sha1', 'plnlrtfpijpuhqylxbgqiiyipieyxvfsavzgxbbcfusqkozwpngsyejqlmjsytrmd', $salt, $iterations, $length); $hash2 = hash_pbkdf2('sha1', "eBkXQTfuBqp'cTcar&g*", $salt, $iterations, $length); var_dump($hash1 === $hash2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/P4FJ3
function name:  (null)
number of ops:  24
compiled vars:  !0 = $salt, !1 = $iterations, !2 = $length, !3 = $hash1, !4 = $hash2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '1234567890123456'
    3     1        ASSIGN                                                   !1, 10
    4     2        ASSIGN                                                   !2, 0
    5     3        INIT_FCALL                                               'hash_pbkdf2'
          4        SEND_VAL                                                 'sha1'
          5        SEND_VAL                                                 'plnlrtfpijpuhqylxbgqiiyipieyxvfsavzgxbbcfusqkozwpngsyejqlmjsytrmd'
          6        SEND_VAR                                                 !0
          7        SEND_VAR                                                 !1
          8        SEND_VAR                                                 !2
          9        DO_ICALL                                         $8      
         10        ASSIGN                                                   !3, $8
    6    11        INIT_FCALL                                               'hash_pbkdf2'
         12        SEND_VAL                                                 'sha1'
         13        SEND_VAL                                                 'eBkXQTfuBqp%27cTcar%26g%2A'
         14        SEND_VAR                                                 !0
         15        SEND_VAR                                                 !1
         16        SEND_VAR                                                 !2
         17        DO_ICALL                                         $10     
         18        ASSIGN                                                   !4, $10
    7    19        INIT_FCALL                                               'var_dump'
         20        IS_IDENTICAL                                     ~12     !3, !4
         21        SEND_VAL                                                 ~12
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.03 ms | 1395 KiB | 17 Q