1--TEST--
2ReflectionClass::getInterfaceNames()
3--CREDITS--
4Michelangelo van Dam <dragonbe@gmail.com>
5#testfest roosendaal on 2008-05-10
6--FILE--
7<?php
8interface Foo { }
9
10interface Bar { }
11
12class Baz implements Foo, Bar { }
13
14class Qux {}
15
16$rc1 = new ReflectionClass("Baz");
17var_dump($rc1->getInterfaceNames());
18
19$rc2 = new ReflectionClass("Qux");
20var_dump($rc2->getInterfaceNames());
21?>
22--EXPECT--
23array(2) {
24  [0]=>
25  string(3) "Foo"
26  [1]=>
27  string(3) "Bar"
28}
29array(0) {
30}
31