mirror of
https://github.com/php/php-src.git
synced 2026-04-27 10:16:41 +02:00
Rename reflection*.phpt to Reflection*.phpt for consistency.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
--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"
|
||||
}
|
||||
Reference in New Issue
Block a user