📜  树枝过滤器数组 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:50.776000             🧑  作者: Mango

代码示例2
{% set sizes = [34, 36, 38, 40, 42] %}

{{ sizes|filter(v => v > 38)|join(', ') }}
{# output 40, 42 #}