1--TEST--
2mcrypt_module_is_block_algorithm_mode
3--SKIPIF--
4<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
5--FILE--
6<?php
7var_dump(mcrypt_module_is_block_algorithm_mode(MCRYPT_MODE_CBC));
8var_dump(mcrypt_module_is_block_algorithm_mode(MCRYPT_MODE_ECB));
9var_dump(mcrypt_module_is_block_algorithm_mode(MCRYPT_MODE_STREAM));
10var_dump(mcrypt_module_is_block_algorithm_mode(MCRYPT_MODE_OFB));
11--EXPECTF--
12Deprecated: Function mcrypt_module_is_block_algorithm_mode() is deprecated in %s%emcrypt_module_is_block_algorithm_mode.php on line 2
13bool(true)
14
15Deprecated: Function mcrypt_module_is_block_algorithm_mode() is deprecated in %s%emcrypt_module_is_block_algorithm_mode.php on line 3
16bool(true)
17
18Deprecated: Function mcrypt_module_is_block_algorithm_mode() is deprecated in %s%emcrypt_module_is_block_algorithm_mode.php on line 4
19bool(false)
20
21Deprecated: Function mcrypt_module_is_block_algorithm_mode() is deprecated in %s%emcrypt_module_is_block_algorithm_mode.php on line 5
22bool(true)
23