|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2016-10-14 15:57 UTC] cmb@php.net
-Status: Open
+Status: Verified
-Assigned To:
+Assigned To: yohgaki
[2016-10-14 15:57 UTC] cmb@php.net
[2016-10-14 23:36 UTC] yohgaki@php.net
-Status: Verified
+Status: Assigned
-Operating System: CentOS7
+Operating System: Irrelevant
-PHP Version: 7.0.12
+PHP Version: Irrelevant
[2016-10-14 23:36 UTC] yohgaki@php.net
[2016-10-15 01:07 UTC] yohgaki@php.net
-Summary: mb_convert_variables is problem
+Summary: mb_convert_variables detects recursive reference
incorrectly
[2016-10-16 03:07 UTC] yohgaki@php.net
[2016-12-19 14:46 UTC] msangapu at microsoft dot com
[2020-12-18 13:58 UTC] cmb@php.net
-Status: Assigned
+Status: Closed
[2020-12-18 13:58 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 13:00:01 2025 UTC |
Description: ------------ PHP-7.0.11 is no problem. $ php -r '$x = ["a", "b"]; mb_convert_variables("UTF-8", "SJIS,EUC-JP", $x);' // no output PHP-7.0.12 is problem. $ php -r '$x = ["a", "b"]; mb_convert_variables("UTF-8", "SJIS,EUC-JP", $x);' PHP Warning: mb_convert_variables(): Cannot handle recursive references in Command line code on line 1 Warning: mb_convert_variables(): Cannot handle recursive references in Command line code on line 1 Test script: --------------- $ php -r '$x = ["a", "b"]; mb_convert_variables("UTF-8", "SJIS,EUC-JP", $x);' Expected result: ---------------- // no output Actual result: -------------- PHP Warning: mb_convert_variables(): Cannot handle recursive references in Command line code on line 1 Warning: mb_convert_variables(): Cannot handle recursive references in Command line code on line 1