mirror of
https://github.com/php/php-src.git
synced 2024-10-19 15:34:25 +00:00
16 lines
296 B
PHP
16 lines
296 B
PHP
--TEST--
|
|
mcrypt_list_algorithms
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
|
|
--FILE--
|
|
<?php
|
|
foreach (mcrypt_list_algorithms() as $algo) {
|
|
if (in_array($algo, array('rijndael-256', 'des', 'blowfish', 'twofish'))) {
|
|
echo "FOUND\n";
|
|
}
|
|
}
|
|
--EXPECT--
|
|
FOUND
|
|
FOUND
|
|
FOUND
|
|
FOUND
|