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