summaryrefslogtreecommitdiff
path: root/tests/classes/autoload_009.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/classes/autoload_009.phpt')
-rw-r--r--tests/classes/autoload_009.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/classes/autoload_009.phpt b/tests/classes/autoload_009.phpt
index b25d7eb69d..150f3ec201 100644
--- a/tests/classes/autoload_009.phpt
+++ b/tests/classes/autoload_009.phpt
@@ -14,7 +14,7 @@ Ensure type hints for unknown types do not trigger autoload.
f(new stdClass);
?>
--EXPECTF--
-Fatal error: Uncaught TypeException: Argument 1 passed to f() must be an instance of UndefClass, instance of stdClass given, called in %s on line %d and defined in %s:%d
+Fatal error: Uncaught TypeError: Argument 1 passed to f() must be an instance of UndefClass, instance of stdClass given, called in %s on line %d and defined in %s:%d
Stack trace:
#0 %s(%d): f(Object(stdClass))
#1 {main}