summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionMethod_getDocComment_error.phpt
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2009-01-07 22:37:08 +0000
committerFelipe Pena <felipe@php.net>2009-01-07 22:37:08 +0000
commitef7eb282fd20a27c3c78f7019403a3ba048a0c21 (patch)
treee774a5093f370ad3d51510a5ee4b042601361bcc /ext/reflection/tests/ReflectionMethod_getDocComment_error.phpt
parent8ef4ac5ebbf107dd5bf0a9266b7284ea46a7b644 (diff)
downloadphp-git-ef7eb282fd20a27c3c78f7019403a3ba048a0c21.tar.gz
- New parameter parsing
- Removed METHOD_NOTSTATIC_NUMPARAMS
Diffstat (limited to 'ext/reflection/tests/ReflectionMethod_getDocComment_error.phpt')
-rw-r--r--ext/reflection/tests/ReflectionMethod_getDocComment_error.phpt6
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/reflection/tests/ReflectionMethod_getDocComment_error.phpt b/ext/reflection/tests/ReflectionMethod_getDocComment_error.phpt
index b3e4d9e30f..02de25bab0 100644
--- a/ext/reflection/tests/ReflectionMethod_getDocComment_error.phpt
+++ b/ext/reflection/tests/ReflectionMethod_getDocComment_error.phpt
@@ -8,10 +8,8 @@ var_dump($rc->getDocComment(null));
var_dump($rc->getDocComment('X'));
?>
--EXPECTF--
-
-Warning: Wrong parameter count for ReflectionFunctionAbstract::getDocComment() in %s on line %d
+Warning: ReflectionFunctionAbstract::getDocComment() expects exactly 0 parameters, 1 given in %s on line %d
NULL
-Warning: Wrong parameter count for ReflectionFunctionAbstract::getDocComment() in %s on line %d
+Warning: ReflectionFunctionAbstract::getDocComment() expects exactly 0 parameters, 1 given in %s on line %d
NULL
-