3v4l.org

run code in 300+ PHP versions simultaneously
<?php $methods = openssl_get_cipher_methods(); $decrypted = openssl_decrypt("5c7Zms7hW3y4e4gOCOjzfg==", $methods[62], "glop"); $pass = openssl_decrypt("5c7Zms7hW3y4e4gOCOjzfg=="['password'], $methods[62], "glop"); print $pass ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XvhX5
function name:  (null)
number of ops:  23
compiled vars:  !0 = $methods, !1 = $decrypted, !2 = $pass
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'openssl_get_cipher_methods'
          1        DO_FCALL                                      0  $3      
          2        ASSIGN                                                   !0, $3
    3     3        INIT_FCALL_BY_NAME                                       'openssl_decrypt'
          4        SEND_VAL_EX                                              '5c7Zms7hW3y4e4gOCOjzfg%3D%3D'
          5        CHECK_FUNC_ARG                                           
          6        FETCH_DIM_FUNC_ARG                               $5      !0, 62
          7        SEND_FUNC_ARG                                            $5
          8        SEND_VAL_EX                                              'glop'
          9        DO_FCALL                                      0  $6      
         10        ASSIGN                                                   !1, $6
    4    11        INIT_FCALL_BY_NAME                                       'openssl_decrypt'
         12        CHECK_FUNC_ARG                                           
         13        FETCH_DIM_FUNC_ARG                               $8      '5c7Zms7hW3y4e4gOCOjzfg%3D%3D', 'password'
         14        SEND_FUNC_ARG                                            $8
         15        CHECK_FUNC_ARG                                           
         16        FETCH_DIM_FUNC_ARG                               $9      !0, 62
         17        SEND_FUNC_ARG                                            $9
         18        SEND_VAL_EX                                              'glop'
         19        DO_FCALL                                      0  $10     
         20        ASSIGN                                                   !2, $10
    5    21        ECHO                                                     !2
    6    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.65 ms | 1394 KiB | 13 Q