1--TEST--
2mcrypt_list_modes
3--SKIPIF--
4<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
5--FILE--
6<?php
7var_dump(mcrypt_list_modes());
8--EXPECTF--
9Deprecated: Function mcrypt_list_modes() is deprecated in %s%emcrypt_list_modes.php on line 2
10array(8) {
11  [0]=>
12  string(3) "cbc"
13  [1]=>
14  string(3) "cfb"
15  [2]=>
16  string(3) "ctr"
17  [3]=>
18  string(3) "ecb"
19  [4]=>
20  string(4) "ncfb"
21  [5]=>
22  string(4) "nofb"
23  [6]=>
24  string(3) "ofb"
25  [7]=>
26  string(6) "stream"
27}
28