rremm2000 wrote:So what exactly do they mean by curly braces is a deprecated way as of php6 does it mean that it's going away?
Yes, it means that using curly braces is a coding practice that is considered out of date and not recommended.
rremm2000 wrote:eems to me not using functions when possible is better
Are you talking about using isset/empty() compared to the last if() statement? If so, then you may be right, but this isn't a situation when it's "possible" then, since the point of using one of those two is to check that the variable is set first, otherwise you'll generate a notice/warning.
Also, you can certainly combine the conditions into one if() statement since the condition is evaluated from left to right, ex.
if(isset($field) && $field[0] == '.')