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--EXPECT-- 9array(8) { 10 [0]=> 11 string(3) "cbc" 12 [1]=> 13 string(3) "cfb" 14 [2]=> 15 string(3) "ctr" 16 [3]=> 17 string(3) "ecb" 18 [4]=> 19 string(4) "ncfb" 20 [5]=> 21 string(4) "nofb" 22 [6]=> 23 string(3) "ofb" 24 [7]=> 25 string(6) "stream" 26}