3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'It works ? Or not it works ?'; $pass = '1234'; $method = 'aes128'; $iv = "1234567812345678"; echo strtohex(openssl_encrypt ($string, $method, $pass,true, $iv)); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VOrl2
function name:  (null)
number of ops:  16
compiled vars:  !0 = $string, !1 = $pass, !2 = $method, !3 = $iv
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'It+works+%3F+Or+not+it+works+%3F'
    4     1        ASSIGN                                                   !1, '1234'
    5     2        ASSIGN                                                   !2, 'aes128'
    6     3        ASSIGN                                                   !3, '1234567812345678'
    8     4        INIT_FCALL_BY_NAME                                       'strtohex'
          5        INIT_FCALL_BY_NAME                                       'openssl_encrypt'
          6        SEND_VAR_EX                                              !0
          7        SEND_VAR_EX                                              !2
          8        SEND_VAR_EX                                              !1
          9        SEND_VAL_EX                                              <true>
         10        SEND_VAR_EX                                              !3
         11        DO_FCALL                                      0  $8      
         12        SEND_VAR_NO_REF_EX                                       $8
         13        DO_FCALL                                      0  $9      
         14        ECHO                                                     $9
   10    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
192.62 ms | 1393 KiB | 13 Q