blob: b3e4d9e30f7ac9f8f721a95c0e340e0a68570876 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--TEST--
ReflectionMethod::getDocComment() errors
--FILE--
<?php
class C { function f() {} }
$rc = new ReflectionMethod('C::f');
var_dump($rc->getDocComment(null));
var_dump($rc->getDocComment('X'));
?>
--EXPECTF--
Warning: Wrong parameter count for ReflectionFunctionAbstract::getDocComment() in %s on line %d
NULL
Warning: Wrong parameter count for ReflectionFunctionAbstract::getDocComment() in %s on line %d
NULL
|