php-src/ext/mcrypt/tests/mcrypt_module_self_test.phpt

14 lines
302 B
Plaintext
Raw Normal View History

2008-05-17 23:27:42 +00:00
--TEST--
mcrypt_module_self_test
--SKIPIF--
<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
--FILE--
<?php
var_dump(mcrypt_module_self_test(MCRYPT_RIJNDAEL_128));
var_dump(mcrypt_module_self_test(MCRYPT_RC2));
var_dump(mcrypt_module_self_test(''));
--EXPECT--
bool(true)
bool(true)
bool(false)