1--TEST--
2mcrypt_module_open
3--SKIPIF--
4<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
5--FILE--
6<?php
7var_dump(mcrypt_module_open(MCRYPT_RIJNDAEL_256, '', MCRYPT_MODE_CBC, ''));
8mcrypt_module_open('', '', '', '');
9
10--EXPECTF--
11resource(%d) of type (mcrypt)
12
13Warning: mcrypt_module_open(): Could not open encryption module in %s on line %d
14
15