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 63f1ea9801..7932fd4240 100644
--- a/tests/classes/autoload_009.phpt
+++ b/tests/classes/autoload_009.phpt
@@ -13,7 +13,7 @@ function f(UndefClass $x)
f(new stdClass);
?>
--EXPECTF--
-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
+Fatal error: Uncaught TypeError: f() expects argument #1 ($x) to be of type UndefClass, stdClass given, called in %s on line %d and defined in %s:%d
Stack trace:
#0 %s(%d): f(Object(stdClass))
#1 {main}