Functions for Working with Traits in OOP in PHP

trait_existsget_declared_traits
Задание 1

Display a list of all declared traits on the screen.

Задание 2

Let you have the trait Trait1 and do not have the trait Trait2. Check what the function trait_exists will output for the trait Trait1 and for the trait Trait2.