PHP Intermediate — Medium
Key points
- Static variables persist across function calls
- Static variables remain local to the function scope
- Initialization occurs only during the first function call
Ready to go further?
Related questions
PHP Intermediate — Medium
Key points
Ready to go further?
Related questions