![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: mcrypt_module_self_test 3: --SKIPIF-- 4: <?php if (!extension_loaded("mcrypt")) print "skip"; ?> 5: --FILE-- 6: <?php 7: var_dump(mcrypt_module_self_test(MCRYPT_RIJNDAEL_128)); 8: var_dump(mcrypt_module_self_test(MCRYPT_RC2)); 9: var_dump(mcrypt_module_self_test('')); 10: --EXPECT-- 11: bool(true) 12: bool(true) 13: bool(false)