Functions for Working with Interfaces in OOP in PHP

interface_existsget_declared_interfaces
Задание 1

Display a list of all declared interfaces.

Задание 2

Let's say you have an interface iTest1 and no interface iTest2. Check what the function interface_exists will output for the interface iTest1 and for the interface iTest2.