endforeach

结束 foreach 块中的一系列命令。

endforeach([<loop_var>])

请参阅 foreach() 命令。

可选的 <loop_var> 参数仅为向后兼容而支持。如果使用,它必须与开始的 foreach 子句的 <loop_var> 参数完全一致。