summaryrefslogtreecommitdiff
path: root/tests/classes/factory_and_singleton_004.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/classes/factory_and_singleton_004.phpt')
-rw-r--r--tests/classes/factory_and_singleton_004.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/classes/factory_and_singleton_004.phpt b/tests/classes/factory_and_singleton_004.phpt
index 41e278bdb9..f813f8e604 100644
--- a/tests/classes/factory_and_singleton_004.phpt
+++ b/tests/classes/factory_and_singleton_004.phpt
@@ -13,7 +13,7 @@ $obj = new test;
echo "Done\n";
?>
--EXPECTF--
-Fatal error: Uncaught Error: Call to private test::__construct() from invalid context in %s:%d
+Fatal error: Uncaught Error: Call to private test::__construct() from global scope in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d