21 Jan
2013
21 Jan
'13
5:26 p.m.
You "think" wrongly. A static variable has local scope to the function declaring the static variable.
No need to guess or think nor discuss this on a Drupal list. Just read the manual: http://php.net/manual/en/language.variables.scope.php