import zend mcrypt tests
[hiphop-php.git] / hphp / test / zend / bad / ext-mcrypt / mcrypt_encrypt_variation5.php.expectf
blob070b4bffece585f16b7f62d5c8e1395fe8e79ed3
1 *** Testing mcrypt_encrypt() : usage variation ***
3 --int 0--
4 Error: 2 - mcrypt_encrypt(): The IV parameter must be as long as the blocksize, %s(%d)
5 string(32) "6438db90653c4d3080c3ceab43618c05"
7 --int 1--
8 Error: 2 - mcrypt_encrypt(): The IV parameter must be as long as the blocksize, %s(%d)
9 string(32) "6438db90653c4d3080c3ceab43618c05"
11 --int 12345--
12 Error: 2 - mcrypt_encrypt(): The IV parameter must be as long as the blocksize, %s(%d)
13 string(32) "6438db90653c4d3080c3ceab43618c05"
15 --int -12345--
16 Error: 2 - mcrypt_encrypt(): The IV parameter must be as long as the blocksize, %s(%d)
17 string(32) "6438db90653c4d3080c3ceab43618c05"
19 --float 10.5--
20 Error: 2 - mcrypt_encrypt(): The IV parameter must be as long as the blocksize, %s(%d)
21 string(32) "6438db90653c4d3080c3ceab43618c05"
23 --float -10.5--
24 Error: 2 - mcrypt_encrypt(): The IV parameter must be as long as the blocksize, %s(%d)
25 string(32) "6438db90653c4d3080c3ceab43618c05"
27 --float 12.3456789000e10--
28 Error: 2 - mcrypt_encrypt(): The IV parameter must be as long as the blocksize, %s(%d)
29 string(32) "6438db90653c4d3080c3ceab43618c05"
31 --float -12.3456789000e10--
32 Error: 2 - mcrypt_encrypt(): The IV parameter must be as long as the blocksize, %s(%d)
33 string(32) "6438db90653c4d3080c3ceab43618c05"
35 --float .5--
36 Error: 2 - mcrypt_encrypt(): The IV parameter must be as long as the blocksize, %s(%d)
37 string(32) "6438db90653c4d3080c3ceab43618c05"
39 --empty array--
40 Error: 2 - mcrypt_encrypt() expects parameter 5 to be string, array given, %s(%d)
41 string(0) ""
43 --int indexed array--
44 Error: 2 - mcrypt_encrypt() expects parameter 5 to be string, array given, %s(%d)
45 string(0) ""
47 --associative array--
48 Error: 2 - mcrypt_encrypt() expects parameter 5 to be string, array given, %s(%d)
49 string(0) ""
51 --nested arrays--
52 Error: 2 - mcrypt_encrypt() expects parameter 5 to be string, array given, %s(%d)
53 string(0) ""
55 --uppercase NULL--
56 Error: 2 - mcrypt_encrypt(): The IV parameter must be as long as the blocksize, %s(%d)
57 string(32) "6438db90653c4d3080c3ceab43618c05"
59 --lowercase null--
60 Error: 2 - mcrypt_encrypt(): The IV parameter must be as long as the blocksize, %s(%d)
61 string(32) "6438db90653c4d3080c3ceab43618c05"
63 --lowercase true--
64 Error: 2 - mcrypt_encrypt(): The IV parameter must be as long as the blocksize, %s(%d)
65 string(32) "6438db90653c4d3080c3ceab43618c05"
67 --lowercase false--
68 Error: 2 - mcrypt_encrypt(): The IV parameter must be as long as the blocksize, %s(%d)
69 string(32) "6438db90653c4d3080c3ceab43618c05"
71 --uppercase TRUE--
72 Error: 2 - mcrypt_encrypt(): The IV parameter must be as long as the blocksize, %s(%d)
73 string(32) "6438db90653c4d3080c3ceab43618c05"
75 --uppercase FALSE--
76 Error: 2 - mcrypt_encrypt(): The IV parameter must be as long as the blocksize, %s(%d)
77 string(32) "6438db90653c4d3080c3ceab43618c05"
79 --empty string DQ--
80 Error: 2 - mcrypt_encrypt(): The IV parameter must be as long as the blocksize, %s(%d)
81 string(32) "6438db90653c4d3080c3ceab43618c05"
83 --empty string SQ--
84 Error: 2 - mcrypt_encrypt(): The IV parameter must be as long as the blocksize, %s(%d)
85 string(32) "6438db90653c4d3080c3ceab43618c05"
87 --instance of classWithToString--
88 Error: 2 - mcrypt_encrypt(): The IV parameter must be as long as the blocksize, %s(%d)
89 string(32) "6438db90653c4d3080c3ceab43618c05"
91 --instance of classWithoutToString--
92 Error: 2 - mcrypt_encrypt() expects parameter 5 to be string, object given, %s(%d)
93 string(0) ""
95 --undefined var--
96 Error: 2 - mcrypt_encrypt(): The IV parameter must be as long as the blocksize, %s(%d)
97 string(32) "6438db90653c4d3080c3ceab43618c05"
99 --unset var--
100 Error: 2 - mcrypt_encrypt(): The IV parameter must be as long as the blocksize, %s(%d)
101 string(32) "6438db90653c4d3080c3ceab43618c05"
103 --resource--
104 Error: 2 - mcrypt_encrypt() expects parameter 5 to be string, resource given, %s(%d)
105 string(0) ""
106 ===DONE===