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 14$rc1 = new ReflectionClass("Baz"); 15var_dump($rc1->getInterfaceNames()); 16?> 17--EXPECT-- 18array(2) { 19 [0]=> 20 string(3) "Foo" 21 [1]=> 22 string(3) "Bar" 23} 24