@@ -122,8 +122,7 @@ fclose($fp);
122122*** Testing mb_substitute_character() : usage variation ***
123123
124124--int 0--
125- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
126- bool(false)
125+ bool(true)
127126
128127--int 1--
129128bool(true)
@@ -151,12 +150,10 @@ Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
151150bool(false)
152151
153152--float .5--
154- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
155- bool(false)
153+ bool(true)
156154
157155--empty array--
158- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
159- bool(false)
156+ bool(true)
160157
161158--int indexed array--
162159bool(true)
@@ -168,26 +165,22 @@ bool(true)
168165bool(true)
169166
170167--uppercase NULL--
171- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
172- bool(false)
168+ bool(true)
173169
174170--lowercase null--
175- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
176- bool(false)
171+ bool(true)
177172
178173--lowercase true--
179174bool(true)
180175
181176--lowercase false--
182- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
183- bool(false)
177+ bool(true)
184178
185179--uppercase TRUE--
186180bool(true)
187181
188182--uppercase FALSE--
189- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
190- bool(false)
183+ bool(true)
191184
192185--empty string DQ--
193186bool(true)
@@ -196,20 +189,16 @@ bool(true)
196189bool(true)
197190
198191--string DQ--
199- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
200- bool(false)
192+ bool(true)
201193
202194--string SQ--
203- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
204- bool(false)
195+ bool(true)
205196
206197--mixed case string--
207- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
208- bool(false)
198+ bool(true)
209199
210200--heredoc--
211- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
212- bool(false)
201+ bool(true)
213202
214203--instance of classWithToString--
215204Error: 8 - Object of class classWithToString could not be converted to int, %s(%d)
@@ -220,9 +209,7 @@ Error: 8 - Object of class classWithoutToString could not be converted to int, %
220209bool(true)
221210
222211--undefined var--
223- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
224- bool(false)
212+ bool(true)
225213
226214--unset var--
227- Error: 2 - mb_substitute_character(): Unknown character, %s(%d)
228- bool(false)
215+ bool(true)
0 commit comments