joe,
this will help you to get more info about regular style and alternate style of
control structures
http://www.php.net/manual/en/control-structures.alternative-syntax.php
personally i am a fan of regular style (which means braces)
:)
--- In phpexperts@yahoogroups.com, Joe Forsythe <jforsythe@...> wrote:
>
> Hey everybody,
>
> Does anyone have a good article or opinions on using this:
>
> if ($foo) :
> endif;
>
> Versus:
>
> if ($foo) {
> }
>
> It applies to more than just the IF statements, but I'm seeing it in
> templatized systems more and more. My personal preference if for the
> braces version, but I was just wondering if anyone has any insight
> other than preference. It's easier for me to visually parse braces.
> --
> Joe
>