[eluser]TheFuzzy0ne[/eluser]
I have to say that I prefer the ternary syntax. It's clearer to me. I say if you've just seen a different way of doing things for the first time, chances are it should be avoided, as I'm sure there's a reason we haven't learnt it. If everyone adopts it, then it's probably a good thing.
I like using a function like this:
Code:
function isset_or($var, $default='')
{
return (isset($var)) ? $var : $default;
}
$some_var = isset_or($some_var, FALSE);
Perhaps it's overcomplicating things, but I'm comfortable with that, and I think it's quite simple to follow.