1--TEST-- 2mcrypt_enc_get_supported_key_sizes 3--SKIPIF-- 4<?php if (!extension_loaded("mcrypt")) print "skip"; ?> 5--FILE-- 6<?php 7$td = mcrypt_module_open('rijndael-256', '', 'ecb', ''); 8$var = mcrypt_enc_get_supported_key_sizes($td); 9var_dump($var); 10--EXPECT-- 11array(3) { 12 [0]=> 13 int(16) 14 [1]=> 15 int(24) 16 [2]=> 17 int(32) 18}