DEV Community

loading...

Discussion on: Understanding PHP static

Collapse
rindraraininoro profile image
Raininoro Rindra

Good article !
I recently used a static local variable in a recursive function to get the depth of the recursion.
github.com/bolo21/translate-array-...