Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 4
    I agree with this, however this question isn't asking about whether or not to use them for single-line blocks. It's asking about when to use curly braces to delimit the block or the PHP-specific : endblock; style delimiters. Commented Jul 7, 2011 at 15:22
  • This is not the same issue as Joel is covering. this is about {...} vs <if/while/etc.>:...end<if/while/etc.>; it is a PHP specific construct. Commented Jul 7, 2011 at 15:23