thinkphp3.2.3模板渲染支持三元表达式

thinkphp3.2.3模板渲染支持三元表达式



{$status?'正常':'错误'}
{$info['status']?$info['msg']:$info['error']}



注意:三元运算符中暂时不支持点语法。