[2] ErrorException in Template.php line 1047
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
// 模板函数过滤
$fun = trim($args[0]);
if (in_array($fun, $template_deny_funs)) {
continue;
}
switch (strtolower($fun)) {
case 'raw':
continue;
case 'date':
$name = 'date(' . $args[1] . ',!is_numeric(' . $name . ')? strtotime(' . $name . ') : ' . $name . ')';
break;
case 'first':
$name = 'current(' . $name . ')';
break;
case 'last':
$name = 'end(' . $name . ')';
break;php7.1都是正常的,php7.3不支持,希望更新下 最佳答案