QA -mb_convert_encoding_array - error for object item in array

Closes GH-9023.
This commit is contained in:
jcm 2022-07-15 16:29:51 +02:00 committed by Christoph M. Becker
parent 7e72c3dc8a
commit dbdef4a55c
No known key found for this signature in database
GPG key ID: D66C9593118BCCB6

View file

@ -0,0 +1,10 @@
--TEST--
Test mb_convert_encoding() function : array functionality with objects not supported
--EXTENSIONS--
mbstring
--FILE--
<?php
mb_convert_encoding(["key" => new stdClass()], 'UTF-8');
?>
--EXPECTF--
Warning: mb_convert_encoding(): Object is not supported in %s on line %d