--TEST-- Function call with global and static variables --FILE-- --EXPECT-- 1 5 2 2 10 5 2 5 3 2 10 5 3 5 4 2