1--TEST--
2mcrypt_get_key_size
3--SKIPIF--
4<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
5--FILE--
6<?php
7var_dump(mcrypt_get_key_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_CBC));
8var_dump(mcrypt_get_key_size(MCRYPT_3DES, MCRYPT_MODE_CBC));
9var_dump(mcrypt_get_key_size(MCRYPT_WAKE, MCRYPT_MODE_STREAM));
10--EXPECT--
11int(32)
12int(24)
13int(32)
14