1--TEST-- 2mcrypt_enc_get_iv_size 3--SKIPIF-- 4<?php if (!extension_loaded("mcrypt")) print "skip"; ?> 5--FILE-- 6<?php 7var_dump(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_CBC)); 8var_dump(mcrypt_get_iv_size(MCRYPT_3DES, MCRYPT_MODE_CBC)); 9var_dump(mcrypt_get_iv_size(MCRYPT_WAKE, MCRYPT_MODE_STREAM)); 10var_dump(mcrypt_get_iv_size(MCRYPT_XTEA, MCRYPT_MODE_STREAM)); 11--EXPECTF-- 12Deprecated: Function mcrypt_get_iv_size() is deprecated in %s%emcrypt_get_iv_size.php on line 2 13int(32) 14 15Deprecated: Function mcrypt_get_iv_size() is deprecated in %s%emcrypt_get_iv_size.php on line 3 16int(8) 17 18Deprecated: Function mcrypt_get_iv_size() is deprecated in %s%emcrypt_get_iv_size.php on line 4 19int(0) 20 21Deprecated: Function mcrypt_get_iv_size() is deprecated in %s%emcrypt_get_iv_size.php on line 5 22 23Warning: mcrypt_get_iv_size(): Module initialization failed in %s on line %d 24bool(false) 25