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--EXPECTF-- 13Deprecated: Function mcrypt_list_algorithms() is deprecated in %s%emcrypt_list_algorithms.php on line 2 14FOUND 15FOUND 16FOUND 17FOUND 18