From 380bf699ae1afad672cf737d70dffeb283e73f4c Mon Sep 17 00:00:00 2001 From: foobar Date: Mon, 26 May 2003 03:55:08 +0000 Subject: [PATCH] Added regression test for bug #23788 --- ext/standard/tests/array/bug23788.phpt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 ext/standard/tests/array/bug23788.phpt diff --git a/ext/standard/tests/array/bug23788.phpt b/ext/standard/tests/array/bug23788.phpt new file mode 100644 index 0000000000..022b3cecd4 --- /dev/null +++ b/ext/standard/tests/array/bug23788.phpt @@ -0,0 +1,24 @@ +--TEST-- +Bug #23788 (*_replace() clobbers referenced array elements) +--FILE-- + +--EXPECT-- +array(2) { + [0]=> + &int(123) + [1]=> + &bool(true) +} +array(2) { + [0]=> + &int(123) + [1]=> + &bool(true) +} -- 2.50.1