mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
17 lines
264 B
PHP
17 lines
264 B
PHP
--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
|
|
)
|