summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionClass_constructor_002.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/reflection/tests/ReflectionClass_constructor_002.phpt')
-rw-r--r--ext/reflection/tests/ReflectionClass_constructor_002.phpt4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/reflection/tests/ReflectionClass_constructor_002.phpt b/ext/reflection/tests/ReflectionClass_constructor_002.phpt
index 7df620eaaa..adb3784347 100644
--- a/ext/reflection/tests/ReflectionClass_constructor_002.phpt
+++ b/ext/reflection/tests/ReflectionClass_constructor_002.phpt
@@ -45,8 +45,10 @@ try {
}
?>
---EXPECT--
+--EXPECTF--
ReflectionClass::__construct() expects exactly 1 argument, 0 given
+
+Deprecated: ReflectionClass::__construct(): Passing null to parameter #1 ($objectOrClass) of type object|string is deprecated in %s on line %d
Class "" does not exist
Class "1" does not exist
Class "1" does not exist