3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.84 ms | 1394 KiB | 15 Q