3v4l.org

run code in 300+ PHP versions simultaneously
<?php const CIPHER = MCRYPT_RIJNDAEL_128; const KEY_BYTE_SIZE = 16; const CIPHER_MODE = 'cbc'; const HASH_FUNCTION = 'sha256'; const MAC_BYTE_SIZE = 32; const ENCRYPTION_INFO = 'PIPS|KeyForEncryption'; const AUTHENTICATION_INFO = 'PIPS|KeyForAuthentication'; $x = hash_hmac("sha256", "blah", "It is a kitten", false); print $x; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BiHt1
function name:  (null)
number of ops:  16
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CONST                                            'CIPHER', <const ast>
    4     1        DECLARE_CONST                                            'KEY_BYTE_SIZE', 16
    5     2        DECLARE_CONST                                            'CIPHER_MODE', 'cbc'
    6     3        DECLARE_CONST                                            'HASH_FUNCTION', 'sha256'
    7     4        DECLARE_CONST                                            'MAC_BYTE_SIZE', 32
    8     5        DECLARE_CONST                                            'ENCRYPTION_INFO', 'PIPS%7CKeyForEncryption'
    9     6        DECLARE_CONST                                            'AUTHENTICATION_INFO', 'PIPS%7CKeyForAuthentication'
   10     7        INIT_FCALL                                               'hash_hmac'
          8        SEND_VAL                                                 'sha256'
          9        SEND_VAL                                                 'blah'
         10        SEND_VAL                                                 'It+is+a+kitten'
         11        SEND_VAL                                                 <false>
         12        DO_ICALL                                         $1      
         13        ASSIGN                                                   !0, $1
   11    14        ECHO                                                     !0
   12    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
189.68 ms | 1394 KiB | 15 Q