MCQs > IT & Programming > PHP > How would you create enums in PHP?

PHP MCQs

How would you create enums in PHP?

Answer

Correct Answer: Use SplEnum which gives the ability to emulate and create enumeration objects natively in PHP.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it