PHP’s alternative syntax and why it’s useful

PHP offers an alternative way to write their control structures for as long as I’ve remembered. It basically does away with the curly brackets and replaces the opening curly with a colon (:) and the closing with ‘end’-whatever. I have to be honest and say I’ve never really found a need to use the alternative [...]

Posted on April 16, 2009 at 2:34 pm by Eldee · Permalink · 16 Comments
In: PHP Tutorials · Tagged with: , ,