mirror of
https://github.com/php/php-src.git
synced 2024-10-19 23:44:13 +00:00
14 lines
302 B
Plaintext
14 lines
302 B
Plaintext
|
--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)
|