19 lines
351 B
PHP
19 lines
351 B
PHP
--TEST--
|
|
Bug GH-7757 (Multi-inherited final constant causes fatal error)
|
|
--FILE--
|
|
<?php
|
|
interface EntityInterface {
|
|
final public const TEST = 'this';
|
|
}
|
|
|
|
interface KeyInterface extends EntityInterface {
|
|
}
|
|
|
|
interface StringableInterface extends EntityInterface {
|
|
}
|
|
|
|
class SomeTestClass implements KeyInterface, StringableInterface {
|
|
}
|
|
?>
|
|
--EXPECT--
|