@@ -123,7 +123,8 @@ fclose($fp);
123
123
*** Testing mb_substitute_character() : usage variation ***
124
124
125
125
--int 0--
126
- bool(true)
126
+ Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
127
+ bool(false)
127
128
128
129
--int 1--
129
130
bool(true)
@@ -151,10 +152,12 @@ Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
151
152
bool(false)
152
153
153
154
--float .5--
154
- bool(true)
155
+ Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
156
+ bool(false)
155
157
156
158
--empty array--
157
- bool(true)
159
+ Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
160
+ bool(false)
158
161
159
162
--int indexed array--
160
163
bool(true)
@@ -166,22 +169,26 @@ bool(true)
166
169
bool(true)
167
170
168
171
--uppercase NULL--
169
- bool(true)
172
+ Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
173
+ bool(false)
170
174
171
175
--lowercase null--
172
- bool(true)
176
+ Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
177
+ bool(false)
173
178
174
179
--lowercase true--
175
180
bool(true)
176
181
177
182
--lowercase false--
178
- bool(true)
183
+ Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
184
+ bool(false)
179
185
180
186
--uppercase TRUE--
181
187
bool(true)
182
188
183
189
--uppercase FALSE--
184
- bool(true)
190
+ Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
191
+ bool(false)
185
192
186
193
--empty string DQ--
187
194
bool(true)
@@ -190,16 +197,20 @@ bool(true)
190
197
bool(true)
191
198
192
199
--string DQ--
193
- bool(true)
200
+ Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
201
+ bool(false)
194
202
195
203
--string SQ--
196
- bool(true)
204
+ Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
205
+ bool(false)
197
206
198
207
--mixed case string--
199
- bool(true)
208
+ Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
209
+ bool(false)
200
210
201
211
--heredoc--
202
- bool(true)
212
+ Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
213
+ bool(false)
203
214
204
215
--instance of classWithToString--
205
216
Error: 8 - Object of class classWithToString could not be converted to int, %s(%d)
@@ -210,8 +221,10 @@ Error: 8 - Object of class classWithoutToString could not be converted to int, %
210
221
bool(true)
211
222
212
223
--undefined var--
213
- bool(true)
224
+ Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
225
+ bool(false)
214
226
215
227
--unset var--
216
- bool(true)
228
+ Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
229
+ bool(false)
217
230
===DONE===
0 commit comments