summaryrefslogtreecommitdiff
path: root/ext/mcrypt/tests/mcrypt_module_self_test.phpt
blob: cf07bfe6a4bca9a32bc8b1749b0c3c7bfe9acdcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--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)