TypePHP 编译器 https://swoole.com/aot/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

28 lines
339 B

<?php
interface DnfLeft
{
}
interface DnfRight
{
}
enum DnfBoth implements DnfLeft, DnfRight
{
case Value;
}
class DnfConstantParent
{
const (DnfLeft&DnfRight)|stdClass VALUE = DnfBoth::Value;
}
class DnfConstantChild extends DnfConstantParent
{
const DnfLeft&DnfRight VALUE = DnfBoth::Value;
}
function main(): void
{
}