(PHP 4 >= 4.0.2, PHP 5, PHP 7 < 7.2.0, PECL mcrypt >= 1.0.0)
mcrypt_list_modes — ��ȡ��֧�ֵ�ģʽ
This function has been DEPRECATED as of PHP 7.1.0. Relying on this function is highly discouraged.
$lib_dir
= ini_get("mcrypt.modes_dir")
] ) : array
��ȡ lib_dir
��
��������֧�ֵ�ģʽ��
lib_dir
ָ��ģʽ���ڵ�λ�á� ���δָ������ʹ�� php.ini �е� mcrypt.modes_dir ָʾ��ָ����λ�á�
��������ʽ������֧�ֵ�ģʽ��
Example #1 mcrypt_list_modes() ����
<?php
$modes = mcrypt_list_modes();
foreach ($modes as $mode) {
echo "$mode <br />\n";
}
?>
�������г���Ĭ��Ŀ¼�� ������֧�ֵ�ģʽ�� ����� php.ini ��δָ�� mcrypt.modes_dir�� ��ʹ��Ĭ�ϵ� mcrypt �� ��װĿ¼��/usr/local/lib/libmcrypt����