3v4l.org

run code in 300+ PHP versions simultaneously
<?php $key = ""; $login = " "; $plain = "login=".$login; $res = mcrypt_encrypt(MCRYPT_RIJNDAEL_128, $key, $plain, "ecb"); $res = base64_encode($res); print $res;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gj6m2
function name:  (null)
number of ops:  18
compiled vars:  !0 = $key, !1 = $login, !2 = $plain, !3 = $res
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, ''
    3     1        ASSIGN                                                   !1, '+'
    4     2        CONCAT                                           ~6      'login%3D', !1
          3        ASSIGN                                                   !2, ~6
    5     4        INIT_FCALL_BY_NAME                                       'mcrypt_encrypt'
          5        FETCH_CONSTANT                                   ~8      'MCRYPT_RIJNDAEL_128'
          6        SEND_VAL_EX                                              ~8
          7        SEND_VAR_EX                                              !0
          8        SEND_VAR_EX                                              !2
          9        SEND_VAL_EX                                              'ecb'
         10        DO_FCALL                                      0  $9      
         11        ASSIGN                                                   !3, $9
    6    12        INIT_FCALL                                               'base64_encode'
         13        SEND_VAR                                                 !3
         14        DO_ICALL                                         $11     
         15        ASSIGN                                                   !3, $11
    7    16        ECHO                                                     !3
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
187.37 ms | 1394 KiB | 15 Q