php-src/ext/mcrypt/tests/mcrypt_module_is_block_algorithm.phpt
2008-05-17 23:27:42 +00:00

15 lines
414 B
PHP

--TEST--
mcrypt_module_is_block_algorithm
--SKIPIF--
<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
--FILE--
<?php
var_dump(mcrypt_module_is_block_algorithm(MCRYPT_RIJNDAEL_128));
var_dump(mcrypt_module_is_block_algorithm(MCRYPT_DES));
var_dump(mcrypt_module_is_block_algorithm(MCRYPT_WAKE));
var_dump(mcrypt_module_is_block_algorithm(MCRYPT_XTEA));
--EXPECT--
bool(true)
bool(true)
bool(false)
bool(true)