summaryrefslogtreecommitdiff
path: root/tests/classes
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-08-09 14:32:33 +0000
committerMarcus Boerger <helly@php.net>2003-08-09 14:32:33 +0000
commitd4aa155d257b5b7e64b7be07e790cee1037a8935 (patch)
tree152eb520e11acdb235aad34c157ad2e0009ab83d /tests/classes
parent3c1cb7431eab779b4b00cabab8d073c9a6d6f2fe (diff)
downloadphp-git-d4aa155d257b5b7e64b7be07e790cee1037a8935.tar.gz
Precise destructor errors
Diffstat (limited to 'tests/classes')
-rwxr-xr-xtests/classes/factory_and_singleton_005.phpt3
-rwxr-xr-xtests/classes/factory_and_singleton_006.phpt4
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/classes/factory_and_singleton_005.phpt b/tests/classes/factory_and_singleton_005.phpt
index fc000b87e2..fab99e312d 100755
--- a/tests/classes/factory_and_singleton_005.phpt
+++ b/tests/classes/factory_and_singleton_005.phpt
@@ -16,5 +16,4 @@ $obj = NULL;
echo "Done\n";
?>
--EXPECTF--
-Warning: Call to protected destructor from context '' in %sfactory_and_singleton_005.php on line %d
-Done
+Fatal error: Call to protected test::__destruct from context '' in %sfactory_and_singleton_005.php on line %d
diff --git a/tests/classes/factory_and_singleton_006.phpt b/tests/classes/factory_and_singleton_006.phpt
index 5b54b9f0fa..6381550711 100755
--- a/tests/classes/factory_and_singleton_006.phpt
+++ b/tests/classes/factory_and_singleton_006.phpt
@@ -16,5 +16,5 @@ $obj = NULL;
echo "Done\n";
?>
--EXPECTF--
-Warning: Call to private destructor from context '' in %sfactory_and_singleton_006.php on line %d
-Done
+Fatal error: Call to private test::__destruct from context '' in %sfactory_and_singleton_006.php on line %d
+