From: SVN Migration Date: Mon, 26 May 2003 03:55:09 +0000 (+0000) Subject: This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. X-Git-Tag: php-4.3.2RC4~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=89f2c547738511dc9db9b90a310263743eaa120e;p=php This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. --- 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) +} diff --git a/tests/lang/bug17115.phpt b/tests/lang/bug17115.phpt new file mode 100644 index 0000000000..0cb3bf44d2 --- /dev/null +++ b/tests/lang/bug17115.phpt @@ -0,0 +1,16 @@ +--TEST-- +Bug #17115 (lambda functions produce segfault with static vars) +--FILE-- + +--EXPECT-- +int(0) +int(1) +int(2)