`static` keyword inside function?

mew

New Member
I was looking at the source for Drupal 7, and I found some things I hadn't seen before. I did some initial looking in the php manual, but it didn't explain these examples. What does the keyword \[code\]static\[/code\] do to a variable inside a function?\[code\]function module_load_all($bootstrap = FALSE) { static $has_run = FALSE\[/code\]
 
Top