From: SVN Migration Date: Fri, 14 Feb 2003 18:42:37 +0000 (+0000) Subject: This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. X-Git-Tag: php-4.3.2RC1~212 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36bc1fb617aba83a298fc64b7476c72e5980272a;p=php This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. --- diff --git a/ext/standard/tests/strings/bug22224.phpt b/ext/standard/tests/strings/bug22224.phpt new file mode 100644 index 0000000000..fea9455654 --- /dev/null +++ b/ext/standard/tests/strings/bug22224.phpt @@ -0,0 +1,26 @@ +--TEST-- +Bug #22224 (implode changes object references in array) +--INI-- +error_reporting=0 +--FILE-- +&$a, 1=>&$a); +var_dump(implode(",",$arr)); +var_dump($arr) +?> +--EXPECT-- +string(13) "Object,Object" +array(2) { + [0]=> + &object(foo)(0) { + } + [1]=> + &object(foo)(0) { + } +}