--TEST-- Bug #54039 (use() of static variables in lambda functions can break staticness) --FILE-- --EXPECT-- Outer function increments $v to 1 Inner function reckons $v is 1 Outer function increments $v to 2 Inner function reckons $v is 2 Outer function increments $v to 1 Inner function reckons $v is 0 Outer function increments $v to 2 Inner function reckons $v is 1 Outer function concatenates 'b' onto $v to give b Outer function concatenates 'a' onto $v to give ba Inner function reckons $v is b Outer function concatenates 'b' onto $v to give bab Outer function concatenates 'a' onto $v to give baba Inner function reckons $v is bab