1

I just saw this little piece of code and now I'm a bit curious about the meaning of that... is it just used for code indentation?

form_buffer('start');
{
  form_validation();
}
form_buffer('end');
vitorsdcs
  • 682
  • 7
  • 32
  • 4
    plain nothing. it helps structuring but IMO it does not improve readability – Daniel W. Nov 19 '13 at 15:54
  • 1
    In some other languages you can scope variables this way because variables defined inside the block is available only there, but PHP doesn't do variable scoping like that. – Atle Nov 19 '13 at 15:58

1 Answers1

0

I agree, it could be just personal notation from the developer.

David
  • 1,074
  • 11
  • 12