Zend
200-710 · Question #106
Which of the following is NOT true about PHP traits? (Choose 2)
See the full explanation below for the reasoning.
Magic Methods and Traits
Question
Which of the following is NOT true about PHP traits? (Choose 2)
Options
- AMultiple traits can be used by a single class.
- BA trait can implement an interface.
- CA trait can declare a private variable.
- DTraits are able to be auto-loaded.
- ETraits automatically resolve conflicts based on definition order.
Topics
#traits#trait limitations#interfaces#conflict resolution
Community Discussion
No community discussion yet for this question.