--TEST-- Bug #64578 (Closures with static variables can be generators) --XFAIL-- Bug #64979 not fixed yet. --FILE-- --EXPECT-- int(1) int(2) int(1)