Query: mcrypt_list_modes
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MCRYPT_LIST_MODES(3) 1 MCRYPT_LIST_MODES(3) mcrypt_list_modes - Gets an array of all supported modesSYNOPSISarray mcrypt_list_modes ([string $lib_dir = ini_get("mcrypt.modes_dir")])DESCRIPTIONGets the list of all supported modes in the $lib_dir parameter.PARAMETERSo $lib_dir - Specifies the directory where all modes are located. If not specified, the value of the mcrypt.modes_dir php.ini directive is used.RETURN VALUESReturns an array with all the supported modes.EXAMPLESExample #1 mcrypt_list_modes(3) Example <?php $modes = mcrypt_list_modes(); foreach ($modes as $mode) { echo "$mode <br /> "; } ?> The example above will produce a list with all supported algorithms in the default mode directory. If it is not set with the mcrypt.modes_dir php.ini directive, the default directory of mcrypt is used (which is /usr/local/lib/libmcrypt). PHP Documentation Group MCRYPT_LIST_MODES(3)
Related Man Pages |
---|
mcrypt(3) - suse |
get_included_files(3) - php |
php_ini_scanned_files(3) - php |
mcrypt(1) - mojave |
mcrypt(1) - linux |
Similar Topics in the Unix Linux Community |
---|
Simple rules of the UNIX.COM forums: |
UNIX.COM 2017 Year End Summary |
Please Welcome Don Cragun as Lead Moderator |
Status of UNIX.COM Forum Transformation |
Denial Of Service Attack Update |