1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 17:22:15 +01:00
Files
archived-php-src/ext/mcrypt/tests/mcrypt_list_algorithms.phpt
2008-05-17 23:27:42 +00:00

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