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