Skip to content

Commit dbdef4a

Browse files
jcmcmb69
jcm
authored andcommitted
QA -mb_convert_encoding_array - error for object item in array
Closes GH-9023.
1 parent 7e72c3d commit dbdef4a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
--TEST--
2+
Test mb_convert_encoding() function : array functionality with objects not supported
3+
--EXTENSIONS--
4+
mbstring
5+
--FILE--
6+
<?php
7+
mb_convert_encoding(["key" => new stdClass()], 'UTF-8');
8+
?>
9+
--EXPECTF--
10+
Warning: mb_convert_encoding(): Object is not supported in %s on line %d

0 commit comments

Comments
 (0)