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