1--TEST--
2ReflectionClass::getFileName(), ReflectionClass::getStartLine(), ReflectionClass::getEndLine() - bad params
3--FILE--
4<?php
5Class C { }
6
7$rc = new ReflectionClass("C");
8$methods = array("getFileName", "getStartLine", "getEndLine");
9
10foreach ($methods as $method) {
11	var_dump($rc->$method());
12	var_dump($rc->$method(null));
13	var_dump($rc->$method('X', 0));
14}
15?>
16--EXPECTF--
17string(%d) "%s"
18
19Warning: ReflectionClass::getFileName() expects exactly 0 parameters, 1 given in %s on line %d
20NULL
21
22Warning: ReflectionClass::getFileName() expects exactly 0 parameters, 2 given in %s on line %d
23NULL
24int(2)
25
26Warning: ReflectionClass::getStartLine() expects exactly 0 parameters, 1 given in %s on line %d
27NULL
28
29Warning: ReflectionClass::getStartLine() expects exactly 0 parameters, 2 given in %s on line %d
30NULL
31int(2)
32
33Warning: ReflectionClass::getEndLine() expects exactly 0 parameters, 1 given in %s on line %d
34NULL
35
36Warning: ReflectionClass::getEndLine() expects exactly 0 parameters, 2 given in %s on line %d
37NULL
38