3v4l.org

run code in 300+ PHP versions simultaneously
<?php $res = gnupg_init(); gnupg_addencryptkey($res,"8660281B6051D071D94B5B230549F9DC851566DC"); $enc = gnupg_encrypt($res, " test"); echo $enc; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Rq0RY
function name:  (null)
number of ops:  14
compiled vars:  !0 = $res, !1 = $enc
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'gnupg_init'
          1        DO_FCALL                                      0  $2      
          2        ASSIGN                                                   !0, $2
    3     3        INIT_FCALL_BY_NAME                                       'gnupg_addencryptkey'
          4        SEND_VAR_EX                                              !0
          5        SEND_VAL_EX                                              '8660281B6051D071D94B5B230549F9DC851566DC'
          6        DO_FCALL                                      0          
    4     7        INIT_FCALL_BY_NAME                                       'gnupg_encrypt'
          8        SEND_VAR_EX                                              !0
          9        SEND_VAL_EX                                              '+test'
         10        DO_FCALL                                      0  $5      
         11        ASSIGN                                                   !1, $5
    5    12        ECHO                                                     !1
    6    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.23 ms | 1392 KiB | 13 Q