mirror of
https://github.com/php/php-src.git
synced 2024-10-21 08:22:42 +00:00
15 lines
414 B
Plaintext
15 lines
414 B
Plaintext
|
--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)
|