mcrypt_module_open.phpt 348 B

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