⊗ppOpTrFn 85 of 107 menu

Functions for Working with Traits in OOP in PHP

trait_exists get_declared_traits

Display a list of all declared traits on the screen.

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.

byenru