summaryrefslogtreecommitdiff
path: root/Zend/tests/bug77652.phpt
blob: 62b2350c8d4c3de6ecf6fbd037b04aad444c6b49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
Bug #77652: Anonymous classes can lose their interface information
--FILE--
<?php

interface I {}
require __DIR__ . '/bug77652.inc';
$data = require __DIR__ . '/bug77652.inc';
print_r(class_implements($data['I']()));

?>
--EXPECT--
Array
(
    [I] => I
)