xref: /PHP-8.0/Zend/tests/bug77652.phpt (revision 53881438)
1--TEST--
2Bug #77652: Anonymous classes can lose their interface information
3--FILE--
4<?php
5
6interface I {}
7require __DIR__ . '/bug77652.inc';
8$data = require __DIR__ . '/bug77652.inc';
9print_r(class_implements($data['I']()));
10
11?>
12--EXPECT--
13Array
14(
15    [I] => I
16)
17