diff --git a/tests/classes/factory_and_singleton_003.phpt b/tests/classes/factory_and_singleton_003.phpt index d81cc4642c5..a909a6a0230 100755 --- a/tests/classes/factory_and_singleton_003.phpt +++ b/tests/classes/factory_and_singleton_003.phpt @@ -15,4 +15,4 @@ $obj = new test; echo "Done\n"; ?> --EXPECTF-- -Fatal error: Call to protected test::__construct() from context '' %sfactory_and_singleton_003.php on line %d +Fatal error: Call to protected test::__construct() from invalid context %s on line %d diff --git a/tests/classes/factory_and_singleton_004.phpt b/tests/classes/factory_and_singleton_004.phpt index 01c53d85a3c..e80d93713d4 100755 --- a/tests/classes/factory_and_singleton_004.phpt +++ b/tests/classes/factory_and_singleton_004.phpt @@ -15,4 +15,4 @@ $obj = new test; echo "Done\n"; ?> --EXPECTF-- -Fatal error: Call to private test::__construct() from context '' %sfactory_and_singleton_004.php on line %d +Fatal error: Call to private test::__construct() from invalid context %s on line %d