source: src/router/php7/ext/mcrypt/tests/bug67707.phpt @ 31874

Last change on this file since 31874 was 31874, checked in by brainslayer, 4 months ago

update php

File size: 432 bytes
Line 
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--
11Deprecated: Function mcrypt_module_open() is deprecated in %s on line %d
12
13Deprecated: Function mcrypt_generic_init() is deprecated in %s on line %d
Note: See TracBrowser for help on using the repository browser.