1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 16:22:37 +01:00
Files
archived-php-src/ext/reflection/tests/ReflectionClass_getInterfaceNames_basic.phpt
2009-04-08 16:08:58 +00:00

24 lines
376 B
PHP

--TEST--
ReflectionClass::getInterfaceNames()
--CREDITS--
Michelangelo van Dam <dragonbe@gmail.com>
#testfest roosendaal on 2008-05-10
--FILE--
<?php
interface Foo { }
interface Bar { }
class Baz implements Foo, Bar { }
$rc1 = new ReflectionClass("Baz");
var_dump($rc1->getInterfaceNames());
?>
--EXPECT--
array(2) {
[0]=>
unicode(3) "Foo"
[1]=>
unicode(3) "Bar"
}