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