From: Marcus Boerger Date: Sat, 9 Aug 2003 14:34:44 +0000 (+0000) Subject: Reenable, works as expected X-Git-Tag: RELEASE_0_7~774 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dfd85e88d25378a2739898ec27950bd0c0e3dd73;p=php Reenable, works as expected --- diff --git a/tests/classes/factory_and_singleton_002.phpt b/tests/classes/factory_and_singleton_002.phpt index 199db29028..2cb9a892f0 100755 --- a/tests/classes/factory_and_singleton_002.phpt +++ b/tests/classes/factory_and_singleton_002.phpt @@ -1,7 +1,7 @@ --TEST-- ZE2 factory and singleton, test 2 --SKIPIF-- - + --FILE-- x = $x; } @@ -28,7 +28,7 @@ class test { test::$test = NULL; } - function __destruct() { + protected function __destruct() { test::$cnt--; } @@ -96,3 +96,5 @@ Destruct y int(1) int(1) Done + +Warning: Call to protected test::__destruct from context '' during shutdown ignored in Unknown on line 0