From: Marcus Boerger Date: Mon, 4 Nov 2002 10:51:08 +0000 (+0000) Subject: See http://bugs.php.net/20175 X-Git-Tag: php-4.3.0RC1~300 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29372b231bce943f1308562ac44f68e261ef6b5a;p=php See http://bugs.php.net/20175 --- 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