mirror of
https://github.com/php/php-src.git
synced 2024-10-21 00:12:34 +00:00
14 lines
302 B
PHP
14 lines
302 B
PHP
--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)
|