3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.04 ms | 1395 KiB | 19 Q