xref: /PHP-7.0/ext/mcrypt/tests/bug67707.phpt (revision d9cd2876)
1--TEST--
2Bug #67707 IV not needed for ECB encryption mode, but it returns a warning
3--SKIPIF--
4<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
5--FILE--
6<?php
7$td = mcrypt_module_open('rijndael-256', '', 'ecb', '');
8mcrypt_generic_init($td, 'secret key', NULL);
9?>
10--EXPECTF--
11