1--TEST--
2ReflectionClass::getDocComment() - bad params
3--CREDITS--
4Robin Fernandes <robinf@php.net>
5Steve Seear <stevseea@php.net>
6--FILE--
7<?php
8class C {}
9$rc = new ReflectionClass('C');
10var_dump($rc->getDocComment(null));
11var_dump($rc->getDocComment('X'));
12var_dump($rc->getDocComment(true));
13var_dump($rc->getDocComment(array(1,2,3)));
14?>
15--EXPECTF--
16Warning: ReflectionClass::getDocComment() expects exactly 0 parameters, 1 given in %s on line %d
17NULL
18
19Warning: ReflectionClass::getDocComment() expects exactly 0 parameters, 1 given in %s on line %d
20NULL
21
22Warning: ReflectionClass::getDocComment() expects exactly 0 parameters, 1 given in %s on line %d
23NULL
24
25Warning: ReflectionClass::getDocComment() expects exactly 0 parameters, 1 given in %s on line %d
26NULL
27