MCQs > IT & Programming > PHP > How should a variable be declared in a function, if the value has to be retained over multiple calls?

PHP MCQs

How should a variable be declared in a function, if the value has to be retained over multiple calls?

Answer

Correct Answer: static

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