@@ -98,97 +98,98 @@ echo "Done";
98
98
*** Testing array_unique() : Passing non array values to $input argument ***
99
99
-- Iteration 1 --
100
100
101
- Warning: array_unique(): The argument should be an array in %s on line %d
102
- bool(false)
101
+ Warning: array_unique() expects parameter 1 to be array, integer given in %s on line %d
102
+ NULL
103
103
-- Iteration 2 --
104
104
105
- Warning: array_unique(): The argument should be an array in %s on line %d
106
- bool(false)
105
+ Warning: array_unique() expects parameter 1 to be array, integer given in %s on line %d
106
+ NULL
107
107
-- Iteration 3 --
108
108
109
- Warning: array_unique(): The argument should be an array in %s on line %d
110
- bool(false)
109
+ Warning: array_unique() expects parameter 1 to be array, integer given in %s on line %d
110
+ NULL
111
111
-- Iteration 4 --
112
112
113
- Warning: array_unique(): The argument should be an array in %s on line %d
114
- bool(false)
113
+ Warning: array_unique() expects parameter 1 to be array, integer given in %s on line %d
114
+ NULL
115
115
-- Iteration 5 --
116
116
117
- Warning: array_unique(): The argument should be an array in %s on line %d
118
- bool(false)
117
+ Warning: array_unique() expects parameter 1 to be array, double given in %s on line %d
118
+ NULL
119
119
-- Iteration 6 --
120
120
121
- Warning: array_unique(): The argument should be an array in %s on line %d
122
- bool(false)
121
+ Warning: array_unique() expects parameter 1 to be array, double given in %s on line %d
122
+ NULL
123
123
-- Iteration 7 --
124
124
125
- Warning: array_unique(): The argument should be an array in %s on line %d
126
- bool(false)
125
+ Warning: array_unique() expects parameter 1 to be array, double given in %s on line %d
126
+ NULL
127
127
-- Iteration 8 --
128
128
129
- Warning: array_unique(): The argument should be an array in %s on line %d
130
- bool(false)
129
+ Warning: array_unique() expects parameter 1 to be array, double given in %s on line %d
130
+ NULL
131
131
-- Iteration 9 --
132
132
133
- Warning: array_unique(): The argument should be an array in %s on line %d
134
- bool(false)
133
+ Warning: array_unique() expects parameter 1 to be array, double given in %s on line %d
134
+ NULL
135
135
-- Iteration 10 --
136
136
137
- Warning: array_unique(): The argument should be an array in %s on line %d
138
- bool(false)
137
+ Warning: array_unique() expects parameter 1 to be array, null given in %s on line %d
138
+ NULL
139
139
-- Iteration 11 --
140
140
141
- Warning: array_unique(): The argument should be an array in %s on line %d
142
- bool(false)
141
+ Warning: array_unique() expects parameter 1 to be array, null given in %s on line %d
142
+ NULL
143
143
-- Iteration 12 --
144
144
145
- Warning: array_unique(): The argument should be an array in %s on line %d
146
- bool(false)
145
+ Warning: array_unique() expects parameter 1 to be array, boolean given in %s on line %d
146
+ NULL
147
147
-- Iteration 13 --
148
148
149
- Warning: array_unique(): The argument should be an array in %s on line %d
150
- bool(false)
149
+ Warning: array_unique() expects parameter 1 to be array, boolean given in %s on line %d
150
+ NULL
151
151
-- Iteration 14 --
152
152
153
- Warning: array_unique(): The argument should be an array in %s on line %d
154
- bool(false)
153
+ Warning: array_unique() expects parameter 1 to be array, boolean given in %s on line %d
154
+ NULL
155
155
-- Iteration 15 --
156
156
157
- Warning: array_unique(): The argument should be an array in %s on line %d
158
- bool(false)
157
+ Warning: array_unique() expects parameter 1 to be array, boolean given in %s on line %d
158
+ NULL
159
159
-- Iteration 16 --
160
160
161
- Warning: array_unique(): The argument should be an array in %s on line %d
162
- bool(false)
161
+ Warning: array_unique() expects parameter 1 to be array, string given in %s on line %d
162
+ NULL
163
163
-- Iteration 17 --
164
164
165
- Warning: array_unique(): The argument should be an array in %s on line %d
166
- bool(false)
165
+ Warning: array_unique() expects parameter 1 to be array, string given in %s on line %d
166
+ NULL
167
167
-- Iteration 18 --
168
168
169
- Warning: array_unique(): The argument should be an array in %s on line %d
170
- bool(false)
169
+ Warning: array_unique() expects parameter 1 to be array, string given in %s on line %d
170
+ NULL
171
171
-- Iteration 19 --
172
172
173
- Warning: array_unique(): The argument should be an array in %s on line %d
174
- bool(false)
173
+ Warning: array_unique() expects parameter 1 to be array, string given in %s on line %d
174
+ NULL
175
175
-- Iteration 20 --
176
176
177
- Warning: array_unique(): The argument should be an array in %s on line %d
178
- bool(false)
177
+ Warning: array_unique() expects parameter 1 to be array, string given in %s on line %d
178
+ NULL
179
179
-- Iteration 21 --
180
- array(0) {
181
- }
180
+
181
+ Warning: array_unique() expects parameter 1 to be array, object given in %s on line %d
182
+ NULL
182
183
-- Iteration 22 --
183
184
184
- Warning: array_unique(): The argument should be an array in %s on line %d
185
- bool(false)
185
+ Warning: array_unique() expects parameter 1 to be array, null given in %s on line %d
186
+ NULL
186
187
-- Iteration 23 --
187
188
188
- Warning: array_unique(): The argument should be an array in %s on line %d
189
- bool(false)
189
+ Warning: array_unique() expects parameter 1 to be array, null given in %s on line %d
190
+ NULL
190
191
-- Iteration 24 --
191
192
192
- Warning: array_unique(): The argument should be an array in %s on line %d
193
- bool(false)
194
- Done
193
+ Warning: array_unique() expects parameter 1 to be array, resource given in %s on line %d
194
+ NULL
195
+ Done
0 commit comments