Hi all,
I'm working on some code that has a lot of loops that written using colon + closing keyword, like this:
if (condition) :
// instructions
endif;
I haven't found any reference to it on PHPmanual, so I was wondering whether this can be used or is something deprecated and should be changed into the usual curly bracketed style?
eg:
if (condition) {
// instructions
}
thanks,
Patrick