1--TEST--
2ReflectionObject::getConstants() - invalid params
3--FILE--
4<?php
5class X {
6}
7
8$rc = new ReflectionObject(new X);
9
10$rc->getConstants('X');
11$rc->getConstants(true);
12
13?>
14--EXPECTF--
15Warning: ReflectionClass::getConstants() expects exactly 0 parameters, 1 given in %s on line %d
16
17Warning: ReflectionClass::getConstants() expects exactly 0 parameters, 1 given in %s on line %d
18