3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.91 ms | 1394 KiB | 19 Q