3v4l.org

run code in 300+ PHP versions simultaneously
<?php define("ENCRYPTION_KEY", "!@#$%^&*"); $string = "This is the original data string!"; echo $encrypted = encrypt($string, ENCRYPTION_KEY); echo "<br />"; echo $decrypted = decrypt($encrypted, ENCRYPTION_KEY);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3XdrE
function name:  (null)
number of ops:  21
compiled vars:  !0 = $string, !1 = $encrypted, !2 = $decrypted
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'ENCRYPTION_KEY'
          2        SEND_VAL                                                 '%21%40%23%24%25%5E%26%2A'
          3        DO_ICALL                                                 
    4     4        ASSIGN                                                   !0, 'This+is+the+original+data+string%21'
    6     5        INIT_FCALL_BY_NAME                                       'encrypt'
          6        SEND_VAR_EX                                              !0
          7        FETCH_CONSTANT                                   ~5      'ENCRYPTION_KEY'
          8        SEND_VAL_EX                                              ~5
          9        DO_FCALL                                      0  $6      
         10        ASSIGN                                           ~7      !1, $6
         11        ECHO                                                     ~7
    7    12        ECHO                                                     '%3Cbr+%2F%3E'
    8    13        INIT_FCALL_BY_NAME                                       'decrypt'
         14        SEND_VAR_EX                                              !1
         15        FETCH_CONSTANT                                   ~8      'ENCRYPTION_KEY'
         16        SEND_VAL_EX                                              ~8
         17        DO_FCALL                                      0  $9      
         18        ASSIGN                                           ~10     !2, $9
         19        ECHO                                                     ~10
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.91 ms | 1395 KiB | 15 Q