2019-06-10 05:50:18 +02:00
|
|
|
<?php
|
|
|
|
if (interface_exists(Foo::class)) {
|
2019-07-05 22:24:00 +02:00
|
|
|
interface I1 extends Foo
|
|
|
|
{
|
|
|
|
}
|
2019-06-10 05:50:18 +02:00
|
|
|
} else {
|
2019-07-05 22:24:00 +02:00
|
|
|
interface I1
|
|
|
|
{
|
|
|
|
}
|
2019-06-10 05:50:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if (!interface_exists(Foo::class)) {
|
2019-07-05 22:24:00 +02:00
|
|
|
interface I2
|
|
|
|
{
|
|
|
|
}
|
2019-06-10 05:50:18 +02:00
|
|
|
} else {
|
2019-07-05 22:24:00 +02:00
|
|
|
interface I2 extends Foo
|
|
|
|
{
|
|
|
|
}
|
2019-06-10 05:50:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if (interface_exists('Bar')) {
|
2019-07-05 22:24:00 +02:00
|
|
|
interface I3 extends Bar
|
|
|
|
{
|
|
|
|
}
|
2019-06-10 05:50:18 +02:00
|
|
|
} else {
|
2019-07-05 22:24:00 +02:00
|
|
|
interface I3
|
|
|
|
{
|
|
|
|
}
|
2019-06-10 05:50:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if (!interface_exists('Bar')) {
|
2019-07-05 22:24:00 +02:00
|
|
|
interface I4
|
|
|
|
{
|
|
|
|
}
|
2019-06-10 05:50:18 +02:00
|
|
|
} else {
|
2019-07-05 22:24:00 +02:00
|
|
|
interface I4 extends Bar
|
|
|
|
{
|
|
|
|
}
|
2019-06-10 05:50:18 +02:00
|
|
|
}
|
|
|
|
|
2019-06-28 16:17:59 +02:00
|
|
|
if (interface_exists('Throwable')) {
|
2019-07-05 22:24:00 +02:00
|
|
|
interface I5 extends Throwable
|
|
|
|
{
|
|
|
|
}
|
2019-06-10 05:50:18 +02:00
|
|
|
} else {
|
2019-07-05 22:24:00 +02:00
|
|
|
interface I5
|
|
|
|
{
|
|
|
|
}
|
2019-06-10 05:50:18 +02:00
|
|
|
}
|
|
|
|
|
2019-06-28 16:17:59 +02:00
|
|
|
if (!interface_exists('Throwable')) {
|
2019-07-05 22:24:00 +02:00
|
|
|
interface I6
|
|
|
|
{
|
|
|
|
}
|
2019-06-10 05:50:18 +02:00
|
|
|
} else {
|
2019-07-05 22:24:00 +02:00
|
|
|
interface I6 extends Throwable
|
|
|
|
{
|
|
|
|
}
|
2019-06-10 05:50:18 +02:00
|
|
|
}
|
|
|
|
|
2019-06-28 16:17:59 +02:00
|
|
|
if (interface_exists(Throwable::class)) {
|
2019-07-05 22:24:00 +02:00
|
|
|
interface I7 extends Throwable
|
|
|
|
{
|
|
|
|
}
|
2019-06-28 16:17:59 +02:00
|
|
|
} else {
|
2019-07-05 22:24:00 +02:00
|
|
|
interface I7
|
|
|
|
{
|
|
|
|
}
|
2019-06-28 16:17:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if (!interface_exists(Throwable::class)) {
|
2019-07-05 22:24:00 +02:00
|
|
|
interface I8
|
|
|
|
{
|
|
|
|
}
|
2019-06-28 16:17:59 +02:00
|
|
|
} else {
|
2019-07-05 22:24:00 +02:00
|
|
|
interface I8 extends Throwable
|
|
|
|
{
|
|
|
|
}
|
2019-06-28 16:17:59 +02:00
|
|
|
}
|