1--TEST--
2mcrypt_module_get_algo_key_size
3--SKIPIF--
4<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
5--FILE--
6<?php
7var_dump(mcrypt_module_get_algo_key_size(MCRYPT_RIJNDAEL_256));
8var_dump(mcrypt_module_get_algo_key_size(MCRYPT_RIJNDAEL_192));
9var_dump(mcrypt_module_get_algo_key_size(MCRYPT_RC2));
10var_dump(mcrypt_module_get_algo_key_size(MCRYPT_XTEA));
11var_dump(mcrypt_module_get_algo_key_size(MCRYPT_CAST_256));
12var_dump(mcrypt_module_get_algo_key_size(MCRYPT_BLOWFISH));
13?>
14--EXPECTF--
15Deprecated: Function mcrypt_module_get_algo_key_size() is deprecated in %s%emcrypt_module_get_algo_key_size.php on line 2
16int(32)
17
18Deprecated: Function mcrypt_module_get_algo_key_size() is deprecated in %s%emcrypt_module_get_algo_key_size.php on line 3
19int(32)
20
21Deprecated: Function mcrypt_module_get_algo_key_size() is deprecated in %s%emcrypt_module_get_algo_key_size.php on line 4
22int(128)
23
24Deprecated: Function mcrypt_module_get_algo_key_size() is deprecated in %s%emcrypt_module_get_algo_key_size.php on line 5
25int(16)
26
27Deprecated: Function mcrypt_module_get_algo_key_size() is deprecated in %s%emcrypt_module_get_algo_key_size.php on line 6
28int(32)
29
30Deprecated: Function mcrypt_module_get_algo_key_size() is deprecated in %s%emcrypt_module_get_algo_key_size.php on line 7
31int(56)
32