mirror of
https://github.com/php/php-src.git
synced 2024-10-21 00:12:34 +00:00
16 lines
296 B
Plaintext
16 lines
296 B
Plaintext
|
--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
|