isset 如果传递给它的变量不同于空,则返回 true。 如果提供了多个参数,则只有当所有参数都不为空时,isset() 才返回 true。 基本用法 {if $myVar|isset}all set!{/if}