Home »

what is the static variable in function useful for?

Question ListCategory: PHPwhat is the static variable in function useful for?
jully882 author asked 9 years ago
1 Answers
denielshakespeare5 author answered 8 years ago

A static variable is defined within a function only the first time and its value can be modified during function calls as follows:

Please login or Register to Submit Answer