Skip to content

Commit 42692d4

Browse files
committed
Merge branch 'PHP-7.4'
2 parents c46b2ed + 6545f65 commit 42692d4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ext/reflection/tests/ReflectionClass_getInterfaceNames_basic.phpt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,13 @@ interface Bar { }
1111

1212
class Baz implements Foo, Bar { }
1313

14+
class Qux {}
15+
1416
$rc1 = new ReflectionClass("Baz");
1517
var_dump($rc1->getInterfaceNames());
18+
19+
$rc2 = new ReflectionClass("Qux");
20+
var_dump($rc2->getInterfaceNames());
1621
?>
1722
--EXPECT--
1823
array(2) {
@@ -21,3 +26,5 @@ array(2) {
2126
[1]=>
2227
string(3) "Bar"
2328
}
29+
array(0) {
30+
}

0 commit comments

Comments
 (0)