mirror of
https://github.com/php/php-src.git
synced 2024-10-19 15:34:25 +00:00
15 lines
451 B
Plaintext
15 lines
451 B
Plaintext
|
--TEST--
|
||
|
mcrypt_module_is_block_algorithm_mode
|
||
|
--SKIPIF--
|
||
|
<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
|
||
|
--FILE--
|
||
|
<?php
|
||
|
var_dump(mcrypt_module_is_block_algorithm_mode(MCRYPT_MODE_CBC));
|
||
|
var_dump(mcrypt_module_is_block_algorithm_mode(MCRYPT_MODE_ECB));
|
||
|
var_dump(mcrypt_module_is_block_algorithm_mode(MCRYPT_MODE_STREAM));
|
||
|
var_dump(mcrypt_module_is_block_algorithm_mode(MCRYPT_MODE_OFB));
|
||
|
--EXPECT--
|
||
|
bool(true)
|
||
|
bool(true)
|
||
|
bool(false)
|
||
|
bool(true)
|