(PHP 4 >= 4.0.2, PHP 5, PHP 7 < 7.2.0, PECL mcrypt >= 1.0.0)
mcrypt_list_algorithms — ��ȡ֧�ֵļ����㷨
This function has been DEPRECATED as of PHP 7.1.0. Relying on this function is highly discouraged.
$lib_dir
= ini_get("mcrypt.algorithms_dir")
] ) : array
��ȡ lib_dir
��
��������֧�ֵ��㷨��
lib_dir
ָ���㷨���ڵ�λ�á� ���δָ������ʹ�� php.ini �е� mcrypt.algorithms_dir ָʾ��ָ����λ�á�
�����鷽ʽ����������֧�ֵ��㷨��
Example #1 mcrypt_list_algorithms() ����
<?php
$algorithms = mcrypt_list_algorithms();
print_r($algorithms);
?>
�������̵���������ڣ�
Array ( [0] => cast-128 [1] => gost [2] => rijndael-128 [3] => twofish [4] => arcfour [5] => cast-256 [6] => loki97 [7] => rijndael-192 [8] => saferplus [9] => wake [10] => blowfish-compat [11] => des [12] => rijndael-256 [13] => serpent [14] => xtea [15] => blowfish [16] => enigma [17] => rc2 [18] => tripledes )