From 29372b231bce943f1308562ac44f68e261ef6b5a Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Mon, 4 Nov 2002 10:51:08 +0000 Subject: [PATCH] See http://bugs.php.net/20175 --- tests/lang/bug20175.phpt | 85 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 tests/lang/bug20175.phpt diff --git a/tests/lang/bug20175.phpt b/tests/lang/bug20175.phpt new file mode 100644 index 0000000000..3b54dfda0b --- /dev/null +++ b/tests/lang/bug20175.phpt @@ -0,0 +1,85 @@ +--TEST-- +Bug #20175 (Static vars can't store ref to new instance) +--FILE-- + +--EXPECTF-- +%s +foo:1 +foo:1 +bar:1 +bar:2 +wow:1 +wow:1 -- 2.50.1