3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach(mcrypt_list_algorithms() as $alg) { printf("\n%20s:", $alg); foreach(mcrypt_list_modes() as $mode) { $mc = @mcrypt_module_open($alg, null, $mode, null); if(is_resource($mc)) echo "\t$mode"; else echo "\t!!FAIL!!:$mode"; } } echo "\n";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 33
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 33
Branch analysis from position: 4
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 31
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 31
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 27
Branch analysis from position: 23
1 jumps found. (Code = 42) Position 1 = 30
Branch analysis from position: 30
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 27
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 31
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 31
Branch analysis from position: 33
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 33
filename:       /in/lYL0Y
function name:  (null)
number of ops:  36
compiled vars:  !0 = $alg, !1 = $mode, !2 = $mc
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'mcrypt_list_algorithms'
          1        DO_FCALL                                      0  $3      
          2      > FE_RESET_R                                       $4      $3, ->33
          3    > > FE_FETCH_R                                               $4, !0, ->33
    3     4    >   INIT_FCALL                                               'printf'
          5        SEND_VAL                                                 '%0A%2520s%3A'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
    4     8        INIT_FCALL_BY_NAME                                       'mcrypt_list_modes'
          9        DO_FCALL                                      0  $6      
         10      > FE_RESET_R                                       $7      $6, ->31
         11    > > FE_FETCH_R                                               $7, !1, ->31
    5    12    >   BEGIN_SILENCE                                    ~8      
         13        INIT_FCALL_BY_NAME                                       'mcrypt_module_open'
         14        SEND_VAR_EX                                              !0
         15        SEND_VAL_EX                                              null
         16        SEND_VAR_EX                                              !1
         17        SEND_VAL_EX                                              null
         18        DO_FCALL                                      0  $9      
         19        END_SILENCE                                              ~8
         20        ASSIGN                                                   !2, $9
    6    21        TYPE_CHECK                                  512          !2
         22      > JMPZ                                                     ~11, ->27
         23    >   NOP                                                      
         24        FAST_CONCAT                                      ~12     '%09', !1
         25        ECHO                                                     ~12
         26      > JMP                                                      ->30
    7    27    >   NOP                                                      
         28        FAST_CONCAT                                      ~13     '%09%21%21FAIL%21%21%3A', !1
         29        ECHO                                                     ~13
    4    30    > > JMP                                                      ->11
         31    >   FE_FREE                                                  $7
    2    32      > JMP                                                      ->3
         33    >   FE_FREE                                                  $4
   10    34        ECHO                                                     '%0A'
         35      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.55 ms | 1392 KiB | 15 Q