1--TEST--
2Modifiers - wrong param count
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->isFinal('X'));
11var_dump($rc->isInterface(null));
12var_dump($rc->isAbstract(true));
13var_dump($rc->getModifiers(array(1,2,3)));
14
15?>
16--EXPECTF--
17Warning: ReflectionClass::isFinal() expects exactly 0 parameters, 1 given in %s on line %d
18NULL
19
20Warning: ReflectionClass::isInterface() expects exactly 0 parameters, 1 given in %s on line %d
21NULL
22
23Warning: ReflectionClass::isAbstract() expects exactly 0 parameters, 1 given in %s on line %d
24NULL
25
26Warning: ReflectionClass::getModifiers() expects exactly 0 parameters, 1 given in %s on line %d
27NULL
28