1--TEST--
2ReflectionClass::getName() - invalid params
3--FILE--
4<?php
5
6$r1 = new ReflectionClass("stdClass");
7
8var_dump($r1->getName('X'));
9var_dump($r1->getName('X', true));
10?>
11--EXPECTF--
12Warning: ReflectionClass::getName() expects exactly 0 parameters, 1 given in %s on line %d
13NULL
14
15Warning: ReflectionClass::getName() expects exactly 0 parameters, 2 given in %s on line %d
16NULL
17