3v4l.org

run code in 300+ PHP versions simultaneously
<?php $class = 'UserBundle\Selbstsucht'; $username = 'voadi'; $expires = '1450869565'; $password = '782153'; $key = "c5aec7f12e16a22c7a2203cb66866f2454c67d52"; $hash = hash('sha256', $class.$username.$expires.$password.$key); $hashHmac = hash_hmac('sha256', $class.$username.$expires.$password, $key); echo $hash; echo $hasHmac;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GXQsf
function name:  (null)
number of ops:  26
compiled vars:  !0 = $class, !1 = $username, !2 = $expires, !3 = $password, !4 = $key, !5 = $hash, !6 = $hashHmac, !7 = $hasHmac
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'UserBundle%5CSelbstsucht'
    4     1        ASSIGN                                                   !1, 'voadi'
    5     2        ASSIGN                                                   !2, '1450869565'
    6     3        ASSIGN                                                   !3, '782153'
    7     4        ASSIGN                                                   !4, 'c5aec7f12e16a22c7a2203cb66866f2454c67d52'
    9     5        INIT_FCALL                                               'hash'
          6        SEND_VAL                                                 'sha256'
          7        CONCAT                                           ~13     !0, !1
          8        CONCAT                                           ~14     ~13, !2
          9        CONCAT                                           ~15     ~14, !3
         10        CONCAT                                           ~16     ~15, !4
         11        SEND_VAL                                                 ~16
         12        DO_ICALL                                         $17     
         13        ASSIGN                                                   !5, $17
   10    14        INIT_FCALL                                               'hash_hmac'
         15        SEND_VAL                                                 'sha256'
         16        CONCAT                                           ~19     !0, !1
         17        CONCAT                                           ~20     ~19, !2
         18        CONCAT                                           ~21     ~20, !3
         19        SEND_VAL                                                 ~21
         20        SEND_VAR                                                 !4
         21        DO_ICALL                                         $22     
         22        ASSIGN                                                   !6, $22
   12    23        ECHO                                                     !5
   13    24        ECHO                                                     !7
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.45 ms | 1395 KiB | 17 Q