3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.47 ms | 1395 KiB | 17 Q