3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "2fe3269fa210706de21ff97cc964590ec5bddd6677885fc55cfa6bfd94924822"; echo base64_encode($str); echo "\n"; echo base64_encode(hasy_hmac('sha256','hoge','o'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Wt4CC
function name:  (null)
number of ops:  16
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '2fe3269fa210706de21ff97cc964590ec5bddd6677885fc55cfa6bfd94924822'
    4     1        INIT_FCALL                                               'base64_encode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ECHO                                                     $2
    5     5        ECHO                                                     '%0A'
    6     6        INIT_FCALL                                               'base64_encode'
          7        INIT_FCALL_BY_NAME                                       'hasy_hmac'
          8        SEND_VAL_EX                                              'sha256'
          9        SEND_VAL_EX                                              'hoge'
         10        SEND_VAL_EX                                              'o'
         11        DO_FCALL                                      0  $3      
         12        SEND_VAR                                                 $3
         13        DO_ICALL                                         $4      
         14        ECHO                                                     $4
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.77 ms | 1394 KiB | 15 Q