From: Sara Golemon Date: Sat, 27 Sep 2003 18:48:48 +0000 (+0000) Subject: Test for Bug 25671 X-Git-Tag: RELEASE_1_3b2~42 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2acca5d015f5493f40bc0407dfe258182969117b;p=php Test for Bug 25671 --- diff --git a/ext/standard/tests/strings/bug25671.phpt b/ext/standard/tests/strings/bug25671.phpt new file mode 100644 index 0000000000..ac64790704 --- /dev/null +++ b/ext/standard/tests/strings/bug25671.phpt @@ -0,0 +1,23 @@ +--TEST-- +Bug #25671 (subarrays not copied correctly) +--FILE-- + +--EXPECT-- +a:4:{i:0;s:19:"This is strung one.";i:1;s:19:"This is strung two.";i:2;a:2:{i:0;s:23:"This is another string.";i:1;s:22:"This is a last string.";}i:3;s:22:"This is a last strung.";} +a:4:{i:0;s:19:"This is strung one.";i:1;s:19:"This is strung two.";i:2;a:2:{i:0;s:23:"This is another string.";i:1;s:22:"This is a last string.";}i:3;s:22:"This is a last strung.";} +a:4:{i:0;s:16:"Thisisstringone.";i:1;s:16:"Thisisstringtwo.";i:2;a:2:{i:0;s:23:"This is another string.";i:1;s:22:"This is a last string.";}i:3;s:18:"Thisisalaststring.";} +a:4:{i:0;s:16:"Thisisstringone.";i:1;s:16:"Thisisstringtwo.";i:2;a:2:{i:0;s:23:"This is another string.";i:1;s:22:"This is a last string.";}i:3;s:18:"Thisisalaststring.";} +