segments of php code

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: segments of php code

Post by Celauran »

It's the alternative structure for flow control. It's most commonly used in views/templates as they're mostly markup with just a little flow control mixed in. I find this syntax keeps things more legible.
Post Reply