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