3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mac = hash_hmac("sha512","Un message suffisamment long pour tomber dans le cas du calcul du hashmac5uc3m01","7h3_1337_k3y",false); $msg=3; print(bin2hex($mac)); $msg=eval("return hex2bin($mac);"); print($msg);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Z0Fm7
function name:  (null)
number of ops:  19
compiled vars:  !0 = $mac, !1 = $msg
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'hash_hmac'
          1        SEND_VAL                                                 'sha512'
          2        SEND_VAL                                                 'Un+message+suffisamment+long+pour+tomber+dans+le+cas+du+calcul+du+hashmac5uc3m01'
          3        SEND_VAL                                                 '7h3_1337_k3y'
          4        SEND_VAL                                                 <false>
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    4     7        ASSIGN                                                   !1, 3
    5     8        INIT_FCALL                                               'bin2hex'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $5      
         11        ECHO                                                     $5
    6    12        ROPE_INIT                                     3  ~7      'return+hex2bin%28'
         13        ROPE_ADD                                      1  ~7      ~7, !0
         14        ROPE_END                                      2  ~6      ~7, '%29%3B'
         15        INCLUDE_OR_EVAL                                  $9      ~6, EVAL
         16        ASSIGN                                                   !1, $9
    7    17        ECHO                                                     !1
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.74 ms | 1395 KiB | 17 Q