in reply to Is there any difference between these two statement?

The first form creates an additional scope, the second form. It doesn't matter for the example snippet you gave, but it may matter if you substitute something else.
  • Comment on Re: Is there any difference between these two statement?