1--TEST-- 2mcrypt_list_algorithms 3--SKIPIF-- 4<?php if (!extension_loaded("mcrypt")) print "skip"; ?> 5--FILE-- 6<?php 7foreach (mcrypt_list_algorithms() as $algo) { 8 if (in_array($algo, array('rijndael-256', 'des', 'blowfish', 'twofish'))) { 9 echo "FOUND\n"; 10 } 11} 12--EXPECT-- 13FOUND 14FOUND 15FOUND 16FOUND