1--TEST-- 2mcrypt_module_get_supported_key_sizes 3--SKIPIF-- 4<?php if (!extension_loaded("mcrypt")) print "skip"; ?> 5--FILE-- 6<?php 7var_dump(mcrypt_module_get_supported_key_sizes(MCRYPT_RIJNDAEL_256)); 8var_dump(mcrypt_module_get_supported_key_sizes(MCRYPT_RC2)); 9--EXPECT-- 10array(3) { 11 [0]=> 12 int(16) 13 [1]=> 14 int(24) 15 [2]=> 16 int(32) 17} 18array(0) { 19}