3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = "hi"; echo password_hash(base64_encode(hash_hmac("sha512", $password, true)), PASSWORD_BCRYPT);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1Fv68
function name:  (null)
number of ops:  15
compiled vars:  !0 = $password
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'hi'
    3     1        INIT_FCALL                                               'password_hash'
          2        INIT_FCALL                                               'base64_encode'
          3        INIT_FCALL                                               'hash_hmac'
          4        SEND_VAL                                                 'sha512'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                         $2      
          8        SEND_VAR                                                 $2
          9        DO_ICALL                                         $3      
         10        SEND_VAR                                                 $3
         11        SEND_VAL                                                 '2y'
         12        DO_ICALL                                         $4      
         13        ECHO                                                     $4
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.88 ms | 1394 KiB | 19 Q