<?php $td = mcrypt_module_open('rijndael-256', '', 'ecb', ''); var_dump(mcrypt_enc_get_supported_key_sizes($td));?>
This will print:
array(3) { [0]=> int(16) [1]=> int(24) [2]=> int(32) }