3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cur = 'password'; $cur = md5($cur); $salt= randbytes(20); $cur = hmac_sha1($cur, $salt); $cur = remote_hmac_sha256($cur, "loldongs"); $cur = scrypt($cur, $salt); $cur = hmac_sha256($cur, $salt); echo $cur;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/O7PEY
function name:  (null)
number of ops:  31
compiled vars:  !0 = $cur, !1 = $salt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'password'
    4     1        INIT_FCALL                                               'md5'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !0, $3
    5     5        INIT_FCALL_BY_NAME                                       'randbytes'
          6        SEND_VAL_EX                                              20
          7        DO_FCALL                                      0  $5      
          8        ASSIGN                                                   !1, $5
    6     9        INIT_FCALL_BY_NAME                                       'hmac_sha1'
         10        SEND_VAR_EX                                              !0
         11        SEND_VAR_EX                                              !1
         12        DO_FCALL                                      0  $7      
         13        ASSIGN                                                   !0, $7
    7    14        INIT_FCALL_BY_NAME                                       'remote_hmac_sha256'
         15        SEND_VAR_EX                                              !0
         16        SEND_VAL_EX                                              'loldongs'
         17        DO_FCALL                                      0  $9      
         18        ASSIGN                                                   !0, $9
    8    19        INIT_FCALL_BY_NAME                                       'scrypt'
         20        SEND_VAR_EX                                              !0
         21        SEND_VAR_EX                                              !1
         22        DO_FCALL                                      0  $11     
         23        ASSIGN                                                   !0, $11
    9    24        INIT_FCALL_BY_NAME                                       'hmac_sha256'
         25        SEND_VAR_EX                                              !0
         26        SEND_VAR_EX                                              !1
         27        DO_FCALL                                      0  $13     
         28        ASSIGN                                                   !0, $13
   11    29        ECHO                                                     !0
         30      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.48 ms | 1395 KiB | 15 Q