标签: php smarty
我正在尝试这些变化,但没有一个正在运作:
{$css_scope|join:$css_scope:" "} {$css_scope|join(' ')} {$css_scope|join:" "} etc...
基本上想要做等效的
$css_scope = array('a', 'b', 'c'); join($css_scope, " "); a b c // output should be this