summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/008.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/reflection/tests/008.phpt')
-rw-r--r--ext/reflection/tests/008.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/reflection/tests/008.phpt b/ext/reflection/tests/008.phpt
index 10806b0015..0b9a867884 100644
--- a/ext/reflection/tests/008.phpt
+++ b/ext/reflection/tests/008.phpt
@@ -27,13 +27,13 @@ foreach ($a as $key=>$val) {
echo "Done\n";
?>
--EXPECT--
-string(20) "Invalid method name "
-string(21) "Invalid method name 1"
+string(91) "ReflectionMethod::__construct(): Argument #1 ($class_or_method) must be a valid method name"
+string(91) "ReflectionMethod::__construct(): Argument #1 ($class_or_method) must be a valid method name"
string(21) "Class does not exist"
string(22) "Class a does not exist"
string(21) "Class does not exist"
string(22) "Class a does not exist"
string(21) "Class does not exist"
-string(66) "The parameter class is expected to be either a string or an object"
+string(104) "ReflectionMethod::__construct(): Argument #1 ($class_or_method) must be of type object|string, int given"
string(21) "Class does not exist"
Done